Created
December 13, 2018 18:42
-
-
Save tacoberu/5bce1ef27f7149b55c28cbf88f6cfa1b to your computer and use it in GitHub Desktop.
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 = Martin Takáč | |
email = martin@takac.name | |
[push] | |
# default = matching | |
default = simple | |
[core] | |
autocrlf = input | |
safecrlf = true | |
quotepath = false | |
[color] | |
diff = auto | |
status= auto | |
branch= auto | |
interactive = true | |
ui = auto | |
decorate = short | |
[alias] | |
ci = commit | |
di = diff --color-words | |
st = status | |
pulreb = pull --rebase | |
rebase-auto = "rebase -i --autosquash" | |
committo = "!f() { git commit --fixup=${1} && git rebase-auto ${1}~2; }; f" | |
# aliases that match the hg in / out commands | |
out = !git fetch && git log FETCH_HEAD.. | |
in = !git fetch && git log ..FETCH_HEAD | |
paths = remote -v | |
show1 = show --oneline | |
log1 = log --oneline | |
log2 = log --format='%Cgreen%h%Creset %an (%ar) %Cred•%Creset %s' | |
find = log --pretty=\"format:%Cgreen%H %Cblue%s\" --name-status --grep | |
co = checkout | |
br = branch | |
cp = cherry-pick | |
[diff] | |
guitool = meld | |
# compactionHeuristic = true | |
[gc] | |
auto = 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment