Skip to content

Instantly share code, notes, and snippets.

@m-nakamura145
Created May 16, 2019 03:56
Show Gist options
  • Save m-nakamura145/387294ab8c26aaf2a876a88f8a41d6ff to your computer and use it in GitHub Desktop.
Save m-nakamura145/387294ab8c26aaf2a876a88f8a41d6ff to your computer and use it in GitHub Desktop.
[user]
name = m-nakamura145
email = masato.nakamura145@gmail.com
[color]
ui = true
diff = auto
status = auto
branch = auto
interactive = auto
[core]
editor = emacs
precomposeunicode = true
[push]
default = simple
[alias]
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"
[ghq]
root = ~/.ghq
root = ~/.go/src
[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