Here's 50 git commands for better productivity in your work.
Git Cheat Sheet codes
g– gitgst– git statusgl– git pullgup– git pull --rebasegp– git pushgd– git diffgdc– git diff --cachedgdv– git diff -w "$@" | view -gc– git commit -vgc!– git commit -v --amendgca– git commit -v -agca!– git commit -v -a --amend`gcmsg – git commit -m
gco– git checkoutgcm– git checkout mastergr– git remotegrv– git remote -vgrmv– git remote renamegrrm– git remote removegsetr– git remote set-urlgrup– git remote updategrbi– git rebase -igrbc– git rebase --continuegrba– git rebase --abortgb– git branchgba– git branch -agcount– git shortlog -sngcl– git config --listgcp– git cherry-pickglg– git log --stat --max-count=10glgg– git log --graph --max-count=10glgga– git log --graph --decorate --allglo– git log --oneline --decorate --colorglog– git log --oneline --decorate --color --graphgss– git status -sga– git addgm– git mergegrh– git reset HEADgrhh– git reset HEAD --hardgclean– git reset --hard && git clean -dfxgwc– git whatchanged -p --abbrev-commit --pretty=mediumgsts– git stash show --textgsta– git stashgstp– git stash popgstd– git stash dropggpull– git pull origin $(current_branch)ggpur– git pull --rebase origin $(current_branch)ggpush– git push origin $(current_branch)ggpnp– git pull origin $(current_branch) && git push origin $(current_branch)glp– _git_log_prettily
If i forgot something please write in comment. i appreciate your effort. Thanks 🙏
Top comments (2)
Thx for this! This is really what I wanted. Helped A LOT.
Can I translate in Korean this article? If you don't mind, I wanna share this awesome information in Korean. Surely, There will be a link directing to this original one.
Hey i am a web developer from PipQuantum any wanna website,app,installation of windows 10,11 etc at a very cheap and affordable price.
Dm me +91 9149455539
Some comments have been hidden by the post's author - find out more