Created
August 8, 2013 19:29
-
-
Save rex/6187864 to your computer and use it in GitHub Desktop.
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 gll='git stash save --include-untracked && git pull --rebase origin $(current_branch) && git stash pop' | |
| alias gs="git status -sb" | |
| alias peek='git fetch origin $(current_branch) && git lg origin/$(current_branch)' | |
| alias gaa='git add -u .' | |
| alias gpp='echo "Starting push" && git push --all origin $(current_branch) && echo "Pushing Tags" && git push --tags origin $(current_branch) && echo "Push complete"' | |
| alias gr='git reset' | |
| alias grh='git reset --hard' | |
| alias commit='echo "----------- COMMITTING TO BRANCH: $(current_branch) ----------" && gll && gaa && git commit' | |
| alias sync='echo "----------- SYNCING BRANCH: $(current_branch) ------------" && git stash save --include-untracked && git pull --rebase origin $(current_branch) && git push origin $(current_branch) && git stash pop' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment