Skip to content

Instantly share code, notes, and snippets.

@m-nakamura145
Created January 11, 2019 01:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m-nakamura145/8f8c0ea8f9bce0aaab4501c1575d7986 to your computer and use it in GitHub Desktop.
Save m-nakamura145/8f8c0ea8f9bce0aaab4501c1575d7986 to your computer and use it in GitHub Desktop.
[user]
name = hoge
email = fuga
[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"
[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