Last active
December 12, 2015 09:29
-
-
Save kcollasarundell/4752116 to your computer and use it in GitHub Desktop.
Git configuration. The gitlocal file is created so that you can differentiate between work and personal while still running the same .gitconfig everywhere
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
[include] | |
path = .gitlocal | |
[alias] | |
lol = log --graph --decorate --pretty --oneline --abbrev-commit | |
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all | |
hlog = log --pretty=format:'The author of %h was %an, %ar%nThe title was >>%s<<%n' | |
unstage = reset HEAD -- | |
tree = log --graph --oneline --pretty=oneline --all | |
treeall = log --oneline --decorate --all --decorate --graph | |
lg = log --graph --pretty=format:'%C(red)%h%C(reset) -%C(yellow)%d%C(reset) %s %C(green)(%cr) %C(blue)<%an>%C(reset)' --abbrev-commit --date=relative | |
ll = log --stat --abbrev-commit | |
[core] | |
editor = vim | |
excludesfile = ~/.gitignore | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
[push] | |
default = upstream | |
[diff] | |
tool = meld | |
algorithm = histogram | |
[remote "origin"] | |
fetch = +refs/pull/*/head:refs/remotes/origin/pr/* |
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
.*.sw[a-z] | |
*.un~ | |
Session.vim |
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
[user] | |
name = Your name here | |
email = Your email here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment