Skip to content

Instantly share code, notes, and snippets.

@twyatt
Last active February 21, 2018 17:34
Show Gist options
  • Save twyatt/60f7505d024f5e4f1908e00b4d9aa20d to your computer and use it in GitHub Desktop.
Save twyatt/60f7505d024f5e4f1908e00b4d9aa20d to your computer and use it in GitHub Desktop.
[user]
name = Travis Wyatt
email = <REDACTED>
[alias]
co = checkout
br = branch
st = status
wip = !git add --verbose --all && git commit --all --verbose --message='wip'
history = log --all --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
cleanup = clean -fdx # remove ignored and non-ignored files
[core]
editor = nano
[color]
ui = auto
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[credential]
helper = osxkeychain
alias aliases='subl ~/.oh-my-zsh/custom/*_aliases.zsh'
alias exports='subl ~/.oh-my-zsh/custom/*_exports.zsh'
alias functions='subl ~/.oh-my-zsh/custom/*_functions.zsh'
alias f='git fetch --all --prune'
alias c='git checkout -'
alias p='cd ~/Projects'
alias g='git'
alias h='git history'
alias l='GIT_PAGER="cat" git log --oneline -1'
alias r='git rebase -i develop'
alias s='git status'
alias t='./gradlew test'
alias x='gitx'
alias gw='./gradlew'
alias dex2jar='d2j-dex2jar.sh -f'
alias apk2jar='d2j-dex2jar.sh -f'
alias proguard="$ANDROID_HOME/tools/proguard/bin/proguardgui.sh"
alias back='git checkout -'
alias check='./gradlew clean check'
alias clean='./gradlew clean'
alias pull='git pull --rebase'
alias fetch='git fetch --all --prune'
alias up='fetch && pull && prune_local'
alias stash='git stash'
alias pop='git stash pop'
alias skip='git rebase --skip'
alias continue='git rebase --continue'
alias wip='git wip'
alias unwip='git reset HEAD^1'
alias panic='tar --exclude='./captures' --exclude='build' --exclude='./.gradle' -cvzf ../${PWD##*/}.tar.gz . && mv -v ../${PWD##*/}.tar.gz ${HOME}/Desktop/'
alias stats='gitinspector --hard=true --timeline=true --responsibilities=true --metrics=true --format=htmlembedded > ~/Desktop/stats-${PWD##*/}.html && open ~/Desktop/stats-${PWD##*/}.html'
alias dexcount='./gradlew clean assemble && open app/build/outputs/dexcount/*Chart/index.html'
alias dependencies='./gradlew :app:dependencies | subl'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment