Last active
February 27, 2017 09:16
-
-
Save dannoso/c07f9f0cdcccaa2443260d169767f9ef to your computer and use it in GitHub Desktop.
My .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 = Davide Lattanzio | |
email = info@dualweb.it | |
[push] | |
default = simple | |
[alias] | |
co = checkout | |
br = branch | |
brv = branch -avv | |
ci = commit | |
st = status | |
last = log -1 HEAD | |
unstage = reset HEAD -- | |
uncommit = reset HEAD~1 | |
conflicts = diff --name-only --diff-filter=U | |
unmerge = reset --merge ORIG_HEAD | |
ignore = update-index --assume-unchanged | |
unignore = update-index --no-assume-unchanged | |
ignored = !git ls-files -v | grep ^[a-z] | |
recover = !git fsck --full --no-reflogs --unreachable --lost-found | grep commit | cut -d' ' -f3 | xargs -n 1 git log -n 1 --pretty=oneline > ~/git-lost-found.txt | |
logsimple = log --pretty=format:"%h%x09%an%x09%x09%ad%x09%s" | |
update = !git pull && git submodule update --init --recursive | |
[color] | |
ui = true | |
[core] | |
autocrlf = input | |
excludesfile = /Users/dlattanzio/.gitignore_global | |
fileMode = false | |
[filter "hawser"] | |
clean = git hawser clean %f | |
smudge = git hawser smudge %f | |
required = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment