-
-
Save pje/3415611 to your computer and use it in GitHub Desktop.
g: a function that will often save you at least two characters
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
function g() { | |
if [[ $# -eq 0 ]] ; then | |
git status | |
else | |
git $@ | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this should really be
git status -sb