Created
November 5, 2019 11:31
-
-
Save noorulain17/ac58bd5999b54c6ca5f0d8ac659f08d2 to your computer and use it in GitHub Desktop.
This file contains 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 gb='git branch' | |
alias gbd='git branch -D' | |
alias gbr='git branch -m' | |
alias grb='git branch -r' | |
alias gba='git branch -all' | |
alias gbru='git remote update origin --prune' | |
alias gf='git fetch' | |
alias gp='git pull' | |
alias gpf='git push -f' | |
alias gpo='git push -u origin' | |
alias grh='git reset HEAD~1' | |
alias grhb='git reset 'HEAD@{1}'' | |
alias ghr='git reset --hard' | |
alias gcs='git clean -n' | |
alias gcf='git clean -f' | |
alias gcr='git clean -f -d android/app/src/main/res' | |
alias gc='git checkout' | |
alias gcp='git checkout -' | |
alias gnb='git checkout -b' | |
alias gc65='git checkout V-6.5-MA-3163' | |
alias gn65='git checkout V-6.5-MA-3163; git checkout -b' | |
alias gp65='git fetch origin V-6.5-MA-3163:V-6.5-MA-3163' | |
alias gs='git status' | |
alias gl='git log --oneline' | |
alias gss='git status --short --branch' | |
alias glc='git log --name-status HEAD^..HEAD' | |
alias glf='git log --pretty=format:"%h - %an, %ar : %s"' | |
alias gr='git rebase' | |
alias gr65='git rebase V-6.5-MA-3163' | |
alias grc='git rebase --continue' | |
alias gra='git rebase --abort' | |
alias grs='git rebase --skip' | |
alias ga='git add .' | |
alias gcm='git commit -m' | |
alias gac='git commit --amend --no-edit' | |
alias gst='git stash' | |
alias gsp='git stash pop' | |
alias gsc='git stash clear' | |
alias guo='git remote update origin --prune' | |
alias gca='git branch | grep -v "master" | xargs git branch -D' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment