Created by
Mycha de Vrees
last modified
| [user]
email = <email>
name = <name>
[fetch]
prune = true
[gitflow "release.finish"]
keepremote = false
fetch = true
pushproduction = true
pushdevelop = true
pushtag = true
ff-master = true
[gitflow "release.start"]
fetch = true
[gitflow "hotfix.finish"]
keepremote = false
fetch = true
push = true
[gitflow "hotfix.start"]
fetch = true
[gitflow "feature.finish"]
fetch = true
rebase = true
preserve-merges = false
push = true
[gitflow "feature.start"]
fetch = true
[gitflow "bugfix.finish"]
fetch = true
rebase = true
preserve-merges = false
push = true
[gitflow "bugfix.start"]
fetch = true
[gitflow "support.start"]
fetch = true
[alias]
bw = blame -w -M
c = commit
b = rev-parse --abbrev-ref HEAD
commend = commit --amend --no-edit
cc = commit --all --amend --no-edit
ca = commit --all
co = checkout
cb = "!f() { git checkout `git log --until=\"$*\" -1 --format=%h`; } ; f"
s = status --short
d = diff
dc = diff --cached --word-diff=color
dw = diff --word-diff=color
l = log
a = add
af = add -f
au = add -u # stages modified and deleted, without new
p = push
pf = push -f # force push, useful after using rebase
ss = show -1 --format=%B--stat
sw = show -1 --format=%B--stat --word-diff=color
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short
lg = log --graph --pretty=format:'%Cred%h%Creset %C(yellow)%an%d%Creset %s [%N] %Cgreen(%ar)%Creset' --date=relative
lgd = log --graph --pretty=format:'%Cred%h%Creset %C(yellow)%an%d%Creset %s [%N] %Cgreen(%ar)%Creset' --date=default
lgm = log --graph --pretty=format:'%Cred%h%Creset %C(yellow)%an%d%Creset %s [%N] %Cgreen(%ar)%Creset' --date=relative --author=<email>
abbr = "!sh -c 'git rev-list --all | grep ^$1 | while read commit; do git --no-pager log -n1 --pretty=format:\"%H %ci %an %s%n\" $commit; done' -"
print-merged = "! git checkout develop && git remote prune origin && git branch -vv | grep 'origin/.*: gone]' | awk '{print $1}'"
cleanup-merged = "! git checkout develop && git remote prune origin && git branch -vv | grep 'origin/.*: gone]' | awk '{print $1}' | xargs git branch -d"
pushall = "push origin develop master --tags"
please = push --force-with-lease
[color]
ui = auto
[branch]
autosetuprebase = remote
[push]
default = current
autoSetupRemote = true
[fetch]
prune = true
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
|