Last active
December 9, 2015 17:28
-
-
Save clauda/4303741 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 st='git status' | |
alias pull='git pull origin master' | |
alias ci='git commit -m $1' | |
alias add='git add . ' | |
push(){ | |
if [ $# != 1 ] | |
then | |
git push origin master | |
else | |
git push $1 master | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment