Skip to content

Instantly share code, notes, and snippets.

@LeaveAirykson LeaveAirykson/.gitconfig
Last active Jul 10, 2019

Embed
What would you like to do?
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[user]
name = Georg Böte
email = georg@neuberger-consulting.com
[push]
default = matching
followTags = true
[alias]
lg = log --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cblue%an%Creset' --abbrev-commit
lgt = log --color --date=format:'%d.%m.%y %H:%M:%S' --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cd) %Cblue%an%Creset' --abbrev-commit
lgf = "!git lg --numstat"
lga = "!git lg --all --graph"
last = log --numstat -1
unstage = reset HEAD --
find = "!git ls-files | grep -i"
co = checkout
br = branch
st = status
std = "!git st | grep deleted:"
stm = "!git st | grep modified:"
ft = fetch --tags
adda = add --all
addp = add --patch
addi = add -i
com = commit -m
amend = commit --amend
pu = push --follow-tags
dfile = rm --cached
ddir = rm --cached -r
drb = push origin --delete
lalias = config --get-regexp alias
undo = reset HEAD^
tickets = "!git lg --grep=[A-Z]-[0-9]"
last-release = describe --abbrev=0
[core]
editor = nano
[merge]
conflictstyle = diff3
tool = opendiff
[mergetool]
keepBackup = false
[diff]
tool = opendiff
[color]
ui = true
[webflow "branch"]
main = master
next = develop
[webflow "prefix"]
feature = feature/
hotfix = hotfix/
release = release/
version = v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.