Created
May 20, 2011 14:02
-
-
Save wrboyce/982940 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
| [user] | |
| name = Will Boyce | |
| email = | |
| signingkey = | |
| [branch "master"] | |
| remote = origin | |
| merge = refs/heads/master | |
| [branch "dev"] | |
| remote = origin | |
| merge = refs/heads/dev | |
| [core] | |
| editor = mvim -f -c 'au VimLeave * !open -a Terminal' | |
| excludesfile = /Users/wrboyce/.gitignore | |
| [alias] | |
| # create aliases using `git alias`! | |
| alias = !sh -c '[ $# = 2 ] && git config --global alias.\"$1\" \"$2\" && exit 0 || echo \"usage: git alias <new alias> <original command>\" >&2 && exit 1' - | |
| # and list them using `git aliases` | |
| aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /' | |
| # basic workflow aliases | |
| cl = clone | |
| ci = commit | |
| amend = commit --amend | |
| st = status | |
| br = branch | |
| co = checkout | |
| suba = submodule add | |
| undo = reset --soft HEAD^ | |
| lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
| lc = log ORIG_HEAD.. --date=relative --stat --no-merges | |
| changes = diff --name-status -r | |
| diffstat = diff --stat -r | |
| prune-all = !git remote | xargs -n 1 git remote prune | |
| ## Push All and Tags | |
| pat = !git push --all && git push --tags | |
| [color] | |
| branch = auto | |
| diff = auto | |
| interactive = auto | |
| status = auto | |
| ui = true | |
| pager = true | |
| [github] | |
| user = wrboyce | |
| token = <censored> | |
| [merge] | |
| tool = opendiff | |
| [branch] | |
| autosetupmerge = true | |
| [gitflow "branch"] | |
| master = master | |
| develop = dev | |
| [gitflow "prefix"] | |
| feature = feature/ | |
| release = release/ | |
| hotfix = hotfix/ | |
| support = support/ | |
| versiontag = v | |
| [pivotal] | |
| full-name = Will Boyce | |
| api-token = <censored> | |
| integration-branch = dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment