Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 0207d0b176
Fetching contributors…

Cannot retrieve contributors at this time

executable file 60 lines (52 sloc) 1.445 kb
alias gs='git status'
alias gaa='git add -A'
alias gdiff='git diff --color-words'
alias gclean='git gc --prune=now && git remote prune origin'
alias glog='git log --graph --oneline --all --decorate'
alias glogo='glog `git reflog | cut -c1-7`'
if type git-up -t > /dev/null 2>&1; then
alias gup='git-up'
alias gp='git-up && git push'
else
alias gup='git pull --rebase'
alias gp='gup && git push'
fi
function gc {
gaa
git commit -m "$1"
gs
}
function goops {
git commit -a --amend
gs
}
function gwut {
echo "
- - - - - - - - - - - - - -
Git Convenience Shortcuts:
- - - - - - - - - - - - - -
gwut - List all Git Convenience commands and prompt symbols.
gs - git status
gaa - Add all changes (including untracted files) to staging
gc \"Message\" - Commit all new files & changes with message
goops - Add changes to previous commit & edit comessage
gp - Pull (via rebase) then push
gup - Pull (via rebase)
glog - Decorated & graphed log
glogo - As glog, including orphan commits
gdiff - A word-diff of changes
gclean - Compress & garbage collect data store
- - - - - - - - - - - - - -
Prompt Symbols:
- - - - - - - - - - - - - -
The prompt shows the current branch & among other helpful things:
* - Uncommitted changes
+ - Staged changes
% - Untracked files
< - You're behind the origin
> - You're ahead of the origin
<> - You've diverged from the origin
= - You're up-to-date with the origin
- - - - - - - - - - - - - -
"
}
Jump to Line
Something went wrong with that request. Please try again.