Last active
February 25, 2016 20:38
-
-
Save DuckOfDoom/25f948de3bb207c79c9c to your computer and use it in GitHub Desktop.
Git Config
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
[core] | |
autocrlf = false | |
preloadindex = true | |
fscache = true | |
editor = vim | |
ignorecase = false | |
[alias] | |
bclean = "!f() { git remote prune origin && git branch --merged develop | grep -v -e "develop" -e "master" | xargs -r git branch -d;}; f" | |
adc = !git lg -5 && git add -A :/ && git status && git commit | |
lcm = log -1 --pretty=%B | |
lg = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
dt = diff-tree --no-commit-id --name-status -r | |
mrg = merge --no-commit --no-ff | |
[color] | |
ui = true | |
[push] | |
default = simple | |
[init] | |
templatedir = ~/.git-templates | |
[help] | |
autocorrect = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment