Created
April 9, 2020 17:19
-
-
Save MACSkeptic/db5f675a1221752370f565ecf8263140 to your computer and use it in GitHub Desktop.
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.sup=for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))' | |
alias.co=checkout | |
alias.lol=log --oneline --decorate | |
alias.rhh=!git reset HEAD^ && git reset | |
alias.st=status -s | |
alias.rr=!git reset HEAD^ && git reset | |
alias.dc=diff --cached -w | |
alias.rc=rebase --continue | |
alias.aa=add -A . | |
alias.prom=pull --rebase origin master | |
alias.nukeme=!git branch -a | grep mozair | grep "remotes/origin/" | cut -d "/" -f 3- | xargs -n 1 git push --delete origin | |
alias.pu=!git push -u origin `git branch | grep '*' | sed s/..//` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment