20 Git Command I Use All The Time β€” Git CheatSheet. Kyle DeGuzman lays down a quick cheat sheet of commands he uses all the time. This article will include commands that I shared in that first article, but it will also include some new git commands.

β€’4m read timeβ€’From enlear.academy
Post cover image
Table of contents
20 Git Commands Every Developer Should Know1. git init2. git remote add origin <link-to-github-remote-repo>3. git remote4. git status5. git add <file name>6. git reset7. git commit8. git push -u origin <branch-name>9. git fetch10. git pull11. git rm -r β€” cached <fileName>12. git branch13. git checkout β€” track origin/<branch-name>14. git checkout <branch-name>15. git merge <branch name>16. git merge β€” abort17. git merge -X theirs <branch name>18. git reset β€” hard HEAD19. git clean -f20. git clean -d
8 Comments

Sort: