Skip to content

Instantly share code, notes, and snippets.

@tacoberu
Created December 13, 2018 18:42
Show Gist options
  • Save tacoberu/5bce1ef27f7149b55c28cbf88f6cfa1b to your computer and use it in GitHub Desktop.
Save tacoberu/5bce1ef27f7149b55c28cbf88f6cfa1b to your computer and use it in GitHub Desktop.
[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