Last active
September 17, 2020 14:35
-
-
Save harishthatikonda/5d9d9310f0fedb6de2f4f3f790f1f6b9 to your computer and use it in GitHub Desktop.
My everyday git aliases
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] | |
pr = pull --rebase | |
tree = log --graph --decorate=auto --abbrev-commit | |
sync = "!f(){ git status;branches=`git ls-remote --heads|cut -f3- -d/`;for brnch in $branches;do echo -e \\nSyncing $brnch;git checkout $brnch;git pr;done;}; f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment