Last active
February 3, 2017 10:17
-
-
Save urbanc/69956ebfcb67595c5f07493a8d86abae to your computer and use it in GitHub Desktop.
gitconfig
This file contains 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 = Urban Cetinski | |
email = urban.cetinski@gmail.com | |
signingkey = AE328DDD | |
[core] | |
excludesfile = /Users/Urban/.gitignore_global | |
autocrlf = input | |
pager = less -F -X | |
[push] | |
default = nothing | |
[color] | |
ui = auto | |
diff = auto | |
status = auto | |
branch = auto | |
[alias] | |
releaselog = log -n20 --pretty=format:' * %s %C(yellow)%d%Creset' --first-parent | |
lg = log -n9 --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%an<%ae> %C(green bold)(%ar) %Creset' --abbrev-commit --date=relative | |
lg2 = log -n9 --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%an <%ae> %Creset %n%+b%n%Cred-------------------------------------------------------------------------------' --abbrev-commit --date=relative | |
st = status | |
prb = pull --rebase | |
ds = diff --staged | |
fap = fetch --all --prune --verbose --progress | |
latest = for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:iso8601) %(refname:short) %(authorname)' | |
pom = push origin master | |
pod = push origin develop | |
amend = commit --amend | |
reset-to-previous = reset HEAD^ | |
mf = !sh -c 'CURRENT_BRANCH=\`git rev-parse --abbrev-ref HEAD\` && git rebase origin/$1 && git push origin :$CURRENT_BRANCH -fu && git checkout $1 && git merge $CURRENT_BRANCH' | |
[bash] | |
showDirtyState = true | |
[merge] | |
ff = false | |
defaultToUpstream = true | |
[commit] | |
gpgsign = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment