|
1 |
| -# Github-Commands |
| 1 | +# Github Commands |
| 2 | + |
| 3 | +1. ๐ด๐ถ๐ ๐ถ๐ป๐ถ๐: Initializes a new Git repository in the current directory. |
| 4 | +2. ๐ด๐ถ๐ ๐ฐ๐น๐ผ๐ป๐ฒ [๐๐ฟ๐น]: Clones a repository into a new directory. |
| 5 | +3. ๐ด๐ถ๐ ๐ฎ๐ฑ๐ฑ [๐ณ๐ถ๐น๐ฒ]: Adds a file or changes in a file to the staging area. |
| 6 | +4. ๐ด๐ถ๐ ๐ฐ๐ผ๐บ๐บ๐ถ๐ -๐บ "[๐บ๐ฒ๐๐๐ฎ๐ด๐ฒ]": Records changes to the repository with a descriptive message. |
| 7 | +5. ๐ด๐ถ๐ ๐ฝ๐๐๐ต: Uploads local repository content to a remote repository. |
| 8 | +6. ๐ด๐ถ๐ ๐ฝ๐๐น๐น: Fetches changes from the remote repository and merges them into the local branch. |
| 9 | +7. ๐ด๐ถ๐ ๐๐๐ฎ๐๐๐: Displays the status of the working directory and staging area. |
| 10 | +8. ๐ด๐ถ๐ ๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต: Lists all local branches in the current repository. |
| 11 | +9. ๐ด๐ถ๐ ๐ฐ๐ต๐ฒ๐ฐ๐ธ๐ผ๐๐ [๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต]: Switches to the specified branch. |
| 12 | +10. ๐ด๐ถ๐ ๐บ๐ฒ๐ฟ๐ด๐ฒ [๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต]: Merges the specified branch's history into the current branch. |
| 13 | +11. ๐ด๐ถ๐ ๐ฟ๐ฒ๐บ๐ผ๐๐ฒ -๐: Lists the remote repositories along with their URLs. |
| 14 | +12. ๐ด๐ถ๐ ๐น๐ผ๐ด: Displays commit logs. |
| 15 | +13. ๐ด๐ถ๐ ๐ฟ๐ฒ๐๐ฒ๐ [๐ณ๐ถ๐น๐ฒ]: Unstages the file, but preserves its contents. |
| 16 | +14. ๐ด๐ถ๐ ๐ฟ๐บ [๐ณ๐ถ๐น๐ฒ]: Deletes the file from the working directory and stages the deletion. |
| 17 | +15. ๐ด๐ถ๐ ๐๐๐ฎ๐๐ต: Temporarily shelves (or stashes) changes that haven't been committed. |
| 18 | +16. ๐ด๐ถ๐ ๐๐ฎ๐ด [๐๐ฎ๐ด๐ป๐ฎ๐บ๐ฒ]: Creates a lightweight tag pointing to the current commit. |
| 19 | +17. ๐ด๐ถ๐ ๐ณ๐ฒ๐๐ฐ๐ต [๐ฟ๐ฒ๐บ๐ผ๐๐ฒ]: Downloads objects and refs from another repository. |
| 20 | +18. ๐ด๐ถ๐ ๐บ๐ฒ๐ฟ๐ด๐ฒ --๐ฎ๐ฏ๐ผ๐ฟ๐: Aborts the current conflict resolution process, and tries to reconstruct the pre-merge state. |
| 21 | +19. ๐ด๐ถ๐ ๐ฟ๐ฒ๐ฏ๐ฎ๐๐ฒ [๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต]: Reapplies commits on top of another base tip, often used to integrate changes from one branch onto another cleanly. |
| 22 | +20. ๐ด๐ถ๐ ๐ฐ๐ผ๐ป๐ณ๐ถ๐ด --๐ด๐น๐ผ๐ฏ๐ฎ๐น ๐๐๐ฒ๐ฟ.๐ป๐ฎ๐บ๐ฒ "[๐ป๐ฎ๐บ๐ฒ]" ๐ฎ๐ป๐ฑ ๐ด๐ถ๐ ๐ฐ๐ผ๐ป๐ณ๐ถ๐ด --๐ด๐น๐ผ๐ฏ๐ฎ๐น ๐๐๐ฒ๐ฟ.๐ฒ๐บ๐ฎ๐ถ๐น "[๐ฒ๐บ๐ฎ๐ถ๐น]": Sets the name and email to be used with your commits. |
| 23 | +21. ๐ด๐ถ๐ ๐ฑ๐ถ๐ณ๐ณ: Shows changes between commits, commit and working tree, etc. |
| 24 | +22. ๐ด๐ถ๐ ๐ฟ๐ฒ๐บ๐ผ๐๐ฒ ๐ฎ๐ฑ๐ฑ [๐ป๐ฎ๐บ๐ฒ] [๐๐ฟ๐น]: Adds a new remote repository. |
| 25 | +23. ๐ด๐ถ๐ ๐ฟ๐ฒ๐บ๐ผ๐๐ฒ ๐ฟ๐ฒ๐บ๐ผ๐๐ฒ [๐ป๐ฎ๐บ๐ฒ]: Removes a remote repository. |
| 26 | +24. ๐ด๐ถ๐ ๐ฐ๐ต๐ฒ๐ฐ๐ธ๐ผ๐๐ -๐ฏ [๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต]: Creates a new branch and switches to it. |
| 27 | +25. ๐ด๐ถ๐ ๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต -๐ฑ [๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต]: Deletes the specified branch. |
| 28 | +26. ๐ด๐ถ๐ ๐ฝ๐๐๐ต --๐๐ฎ๐ด๐: Pushes all tags to the remote repository. |
| 29 | +27. ๐ด๐ถ๐ ๐ฐ๐ต๐ฒ๐ฟ๐ฟ๐-๐ฝ๐ถ๐ฐ๐ธ [๐ฐ๐ผ๐บ๐บ๐ถ๐]: Picks a commit from another branch and applies it to the current branch. |
| 30 | +28. ๐ด๐ถ๐ ๐ณ๐ฒ๐๐ฐ๐ต --๐ฝ๐ฟ๐๐ป๐ฒ: Prunes remote tracking branches no longer on the remote. |
| 31 | +29. ๐ด๐ถ๐ ๐ฐ๐น๐ฒ๐ฎ๐ป -๐ฑ๐ณ: Removes untracked files and directories from the working directory. |
| 32 | +30. ๐ด๐ถ๐ ๐๐๐ฏ๐บ๐ผ๐ฑ๐๐น๐ฒ ๐๐ฝ๐ฑ๐ฎ๐๐ฒ --๐ถ๐ป๐ถ๐ --๐ฟ๐ฒ๐ฐ๐๐ฟ๐๐ถ๐๐ฒ: Initializes and updates submodules recursively. |
0 commit comments