Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
name = hoge
email = fuga
ui = true
diff = auto
status = auto
branch = auto
interactive = auto
editor = emacs
precomposeunicode = true
default = simple
co = checkout
gr = grep -C 3 -i -n --color=auto
openpr = "!f() { hub browse -- `git log --merges --oneline --reverse --ancestry-path $1...master | grep 'Merge pull request #' | head -n 1 | cut -f5 -d' ' | sed -e 's%#%pull/%'`; }; f"
[tig "bind"]
diff = F ?!git commit --fixup %(commit)
diff = S ?!git commit --squash %(commit)
main = F ?!git commit --fixup %(commit)
main = S ?!git commit --squash %(commit)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment