๐ฐ๐ต๐ฒ๐ฎ๐๐๐ต๐ฒ๐ฒ๐ ๐ณ๐ผ๐ฟ ๐๐๐ ๐ฒ๐๐๐ฒ๐ป๐๐ถ๐ฎ๐น ๐ด๐ถ๐ ๐ฐ๐ผ๐บ๐บ๐ฎ๐ป๐ฑ๐:
0. ๐ด๐ถ๐ ๐ถ๐ป๐ถ๐: Initializes a new Git repository.
1. ๐ด๐ถ๐ ๐ฐ๐น๐ผ๐ป๐ฒ [๐๐ฟ๐น]: Creates a local copy of a remote repository.
2. ๐ด๐ถ๐ ๐๐๐ฎ๐๐๐: Displays the state of the working directory and staging area.
3. ๐ด๐ถ๐ ๐ฎ๐ฑ๐ฑ [๐ณ๐ถ๐น๐ฒ]: Adds a file to the staging area.
4. ๐ด๐ถ๐ ๐ฟ๐ฒ๐๐ฒ๐ [๐ณ๐ถ๐น๐ฒ]: Unstages a file while retaining the changes.
5. ๐ด๐ถ๐ ๐ฑ๐ถ๐ณ๐ณ --๐๐๐ฎ๐ด๐ฒ๐ฑ: Shows differences between the staging area and the last commit.
6. ๐ด๐ถ๐ ๐ฐ๐ผ๐บ๐บ๐ถ๐ -๐บ "[๐บ๐ฒ๐๐๐ฎ๐ด๐ฒ]": Records staged changes with a descriptive message.
7. ๐ด๐ถ๐ ๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต: Lists all local branches.
8. ๐ด๐ถ๐ ๐ฐ๐ต๐ฒ๐ฐ๐ธ๐ผ๐๐ -๐ฏ [๐ป๐ฎ๐บ๐ฒ]: Creates and switches to a new branch.
9. ๐ด๐ถ๐ ๐น๐ผ๐ด: Displays commit history.
10. ๐ด๐ถ๐ ๐ฟ๐ฒ๐บ๐ผ๐๐ฒ ๐ฎ๐ฑ๐ฑ [๐ฟ๐ฒ๐ณ] [๐๐ฟ๐น]: Adds a new remote repository.
11. ๐ด๐ถ๐ ๐ฝ๐๐๐ต [๐ฎ๐น๐ถ๐ฎ๐] [๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต]: Uploads local branch commits to a remote repository.
12. ๐ด๐ถ๐ ๐ฝ๐๐น๐น: Fetches and merges changes from the remote to the local repository.
13. ๐ด๐ถ๐ ๐๐๐ฎ๐๐ต: Temporarily stores modified tracked files.
14. ๐ด๐ถ๐ ๐๐๐ฎ๐๐ต ๐ฝ๐ผ๐ฝ: Restores the most recently stashed files.
15. ๐ด๐ถ๐ ๐๐๐ฎ๐๐ต ๐ฑ๐ฟ๐ผ๐ฝ: Discards the most recently stashed changeset.
16. ๐ด๐ถ๐ ๐ฟ๐ฒ๐ฏ๐ฎ๐๐ฒ [๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต]: Reapplies commits on top of another base tip.
17. ๐ด๐ถ๐ ๐ฟ๐ฒ๐ฏ๐ฎ๐๐ฒ -๐ถ ๐๐๐๐~<๐ป>: Starts an interactive rebase for the last n commits.
18. ๐ด๐ถ๐ ๐ฟ๐ฒ๐๐ฒ๐ --๐ต๐ฎ๐ฟ๐ฑ [๐ฐ๐ผ๐บ๐บ๐ถ๐]: Resets the working directory to a specified commit.
19. ๐ด๐ถ๐ ๐น๐ผ๐ด ๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต๐..๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต๐: Shows commits on branchA that are not on branchB.
20. ๐ด๐ถ๐ ๐ฑ๐ถ๐ณ๐ณ ๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต๐...๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต๐: Displays differences between two branches.
21. ๐ด๐ถ๐ ๐๐ต๐ผ๐ [๐ฆ๐๐]: Shows the changes in a specific commit.
22. ๐ด๐ถ๐ ๐ฐ๐ผ๐ป๐ณ๐ถ๐ด --๐ด๐น๐ผ๐ฏ๐ฎ๐น ๐ฐ๐ผ๐ฟ๐ฒ.๐ฒ๐
๐ฐ๐น๐๐ฑ๐ฒ๐๐ณ๐ถ๐น๐ฒ [๐ณ๐ถ๐น๐ฒ]: Sets up a global file for ignoring files.
Best DSA RESOURCES: https://topmate.io/coding/886874
All the best ๐๐
Post #1055
7.09K
- ๐ 13
- โค 5