Last active
December 27, 2015 10:39
-
-
Save pyk/7312113 to your computer and use it in GitHub Desktop.
my git configuration file
- allways write nice look git commit using sublime text
- bunch of usefull git aliases
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] | |
excludesfile = /path/to/global/.gitignore | |
quotepath = false | |
editor = sublime -w | |
[user] | |
name = [your name] | |
email = [your email] | |
[mergetool] | |
keepBackup = true | |
[alias] | |
cm = commit -m | |
co = checkout | |
st = status | |
praise = blame | |
dt = difftool | |
addall = add . | |
l = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | |
history = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all | |
[apply] | |
whitespace = nowarn | |
[diff] | |
color = auto | |
rename = copy | |
[pager] | |
color = true | |
[status] | |
color = true | |
[difftool] | |
prompt = false | |
[advice] | |
statusHints = false | |
[credential] | |
helper = cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment