Essential Git Commands for Software Developers @AshutoshTechHub

preview_player
ะŸะพะบะฐะทะฐั‚ัŒ ะพะฟะธัะฐะฝะธะต
#informationtechnology


Important Git Commands:

1. git fetch: downloads the latest changes from the remote repository
2. ๐ ๐ข๐ญ ๐๐ข๐Ÿ๐Ÿ: Show file differences not yet staged.
3. ๐ ๐ข๐ญ ๐œ๐ก๐ž๐œ๐ค๐จ๐ฎ๐ญ -๐› ๐›๐ซ๐š๐ง๐œ๐ก_๐ง๐š๐ฆ๐ž: Create and switch to a new branch.
4. ๐ ๐ข๐ญ ๐œ๐ก๐ž๐œ๐ค๐จ๐ฎ๐ญ ๐›๐ซ๐š๐ง๐œ๐ก_๐ง๐š๐ฆ๐ž: Switch to an existing branch.
5. git squash: combining multiple commits into a single one
6. ๐ ๐ข๐ญ ๐œ๐จ๐ฆ๐ฆ๐ข๐ญ โ€”๐š๐ฆ๐ž๐ง๐: Modify the last commit.
7. ๐ ๐ข๐ญ ๐ซ๐ž๐ฌ๐ž๐ญ โ€”๐ก๐š๐ซ๐: Resets everything to a previous commit, erasing all uncommitted changes.
8. ๐ ๐ข๐ญ ๐ฉ๐ฎ๐ฌ๐ก ๐จ๐ซ๐ข๐ ๐ข๐ง ๐›๐ซ๐š๐ง๐œ๐ก_๐ง๐š๐ฆ๐ž: Push a branch to a remote.
9. ๐ ๐ข๐ญ ๐ฌ๐ญ๐š๐ญ๐ฎ๐ฌ: Show the state of your working directory.
10. ๐ ๐ข๐ญ ๐œ๐จ๐ฆ๐ฆ๐ข๐ญ -๐š -๐ฆ โ€œ๐œ๐จ๐ฆ๐ฆ๐ข๐ญ ๐ฆ๐ž๐ฌ๐ฌ๐š๐ ๐žโ€: Commit all tracked changes with a message.
11. ๐ ๐ข๐ญ ๐š๐๐ ๐Ÿ๐ข๐ฅ๐ž_๐ฉ๐š๐ญ๐ก: Add file(s) to the staging area.
12. ๐ ๐ข๐ญ ๐ฉ๐ฎ๐ฅ๐ฅ: Fetch and merge remote changes.
12. ๐ ๐ข๐ญ ๐ฌ๐ญ๐š๐ฌ๐ก: Stash changes for later.
13. ๐ ๐ข๐ญ ๐Ÿ๐จ๐ซ๐ฆ๐š๐ญ-๐ฉ๐š๐ญ๐œ๐ก -1 ๐œ๐จ๐ฆ๐ฆ๐ข๐ญ_๐ข๐: Create a patch file for a specific commit.
14. ๐ ๐ข๐ญ ๐ฌ๐ก๐จ๐ฐ ๐œ๐จ๐ฆ๐ฆ๐ข๐ญ_๐ข๐: Show details about a commit.
15. ๐ ๐ข๐ญ ๐ซ๐ž๐ฌ๐ž๐ญ ๐‡๐„๐€๐ƒ~1: Undo the last commit, preserving changes locally.
16. ๐ ๐ข๐ญ ๐š๐ฉ๐ฉ๐ฅ๐ฒ ๐ฉ๐š๐ญ๐œ๐ก_๐Ÿ๐ข๐ฅ๐ž_๐ง๐š๐ฆ๐ž: Apply changes from a patch file.
17. ๐ ๐ข๐ญ ๐›๐ซ๐š๐ง๐œ๐ก -๐ƒ ๐›๐ซ๐š๐ง๐œ๐ก_๐ง๐š๐ฆ๐ž: Delete a branch forcefully.
18. ๐ ๐ข๐ญ ๐ซ๐ž๐ฌ๐ž๐ญ: Undo commits by moving branch reference.
19. ๐ ๐ข๐ญ ๐œ๐ฅ๐จ๐ง๐ž: Create a local copy of a remote repo.
20. ๐ ๐ข๐ญ ๐ซ๐ž๐›๐š๐ฌ๐ž -๐ข: Rebase interactively, rewrite commit history.
21. ๐ ๐ข๐ญ ๐œ๐ก๐ž๐ซ๐ซ๐ฒ-๐ฉ๐ข๐œ๐ค ๐œ๐จ๐ฆ๐ฆ๐ข๐ญ_๐ข๐: Apply changes from a specific commit.
22. ๐ ๐ข๐ญ ๐ซ๐ž๐ฏ๐ž๐ซ๐ญ: Undo commits by creating a new commit.
23. ๐ ๐ข๐ญ ๐ฆ๐ž๐ซ๐ ๐ž: Merge branches together.
24. ๐ ๐ข๐ญ ๐ฅ๐จ๐  โ€”๐ฌ๐ญ๐š๐ญ: Show commit logs with stats.
25. ๐ ๐ข๐ญ ๐ฌ๐ญ๐š๐ฌ๐ก ๐ฉ๐จ๐ฉ: Apply and remove stashed changes.
26. ๐ ๐ข๐ญ ๐›๐ซ๐š๐ง๐œ๐ก: Lists branches.

----------------------------------------------------------------------------------------------------------------------------------------------------
Do subscribe us for more interesting videos.

Join us on instagram

Our Facebook page
ะ ะตะบะพะผะตะฝะดะฐั†ะธะธ ะฟะพ ั‚ะตะผะต
join shbcf.ru