-
-
Save lerouse/931a45f03ddea89fea80e81966c144ff to your computer and use it in GitHub Desktop.
Add Git Pull then Push
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
# Git aliases | |
alias gs="git status" | |
alias ga="git add" | |
alias gaa="git add ." | |
alias gc="git commit" | |
alias gp="git push" | |
alias gpl="git pull" | |
alias gptp="git pull && git push" | |
alias gcm="git commit -m" | |
alias gl="git log" | |
alias gr="git reset" | |
alias gcl="git clone" | |
alias nah="git reset --hard && git clean -df" | |
alias wip="git add . && git commit -m 'WIP'" | |
alias wipa="git add . && git commit --amend -m 'WIP'" | |
alias glp="git log --pretty=oneline" | |
alias grc="git rebase --interactive HEAD~2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment