-
-
Save venkywonka/7b8ab0298d34439bfcf98c6f25368af5 to your computer and use it in GitHub Desktop.
Some helpful git aliases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias gd="git diff" | |
| alias gclone="git clone" | |
| alias ga="git add" | |
| alias gbdel="git branch -D" | |
| alias gst="git status" | |
| alias gcommit="git commit -a -m" | |
| alias gptags="git push --tags" | |
| alias gp="git push" | |
| alias gpr="git pull-request" | |
| alias grhard="git reset --hard" | |
| alias gb="git branch" | |
| alias gchb="git checkout -b" | |
| alias gch="git checkout" | |
| alias gba="git branch -a" | |
| alias gcp="git cherry-pick" | |
| alias gl="git log --pretty='format:%Cgreen%h%Creset %an - %s' --graph" | |
| alias gpull="git pull" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment