Created
February 24, 2015 00:00
-
-
Save 0robustus1/7dfd781dcd649fff1a1b to your computer and use it in GitHub Desktop.
.gitconfig file described in: https://rightsrestricted.com/2015/02/24/gitting-the-conf-together/
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 = "My actual name" | |
email = myusername@example.com | |
[alias] | |
c = commit | |
ca = commit --amend | |
co = checkout | |
m = merge | |
mff = merge --ff-only | |
r = rebase | |
rc = rebase --continue | |
ri = rebase --interactive | |
bunch = log --oneline --graph --decorate --all | |
to-origin = reset --hard HEAD@{upstream} | |
to-head = reset --hard HEAD | |
to-parent = reset --hard HEAD^ | |
[color] | |
branch = auto | |
ui = auto | |
status = auto | |
interactive = auto | |
[core] | |
excludesfile = ~/.gitignore_global | |
editor = vim | |
pager = less | |
sequence.editor = vim | |
[diff] | |
context = 5 | |
algorithm = histogram | |
[log] | |
date = relative | |
decorate = full | |
[pull] | |
ff = only | |
[push] | |
default = upstream |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment