Skip to content

Instantly share code, notes, and snippets.

@bells17
Last active January 21, 2023 07:53
Show Gist options
  • Save bells17/76c6f5e76bbc9e29250c9c8d2081b8f8 to your computer and use it in GitHub Desktop.
Save bells17/76c6f5e76bbc9e29250c9c8d2081b8f8 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = bells17
email = bells171@gmail.com
[include]
path = .gitconfig.local
[commit]
gpgsign = true # gpg keyで署名していないなら外す
[init]
defaultBranch = main
[core]
editor = vi
[color]
ui = auto
[push]
default = current
[merge]
ff = false
[pull]
rebase = true
[alias]
st = status
co = checkout
di = diff
dic = diff --cached
lo = log --graph -n 20 --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(green)- %an, %cr%Creset'
lp = log --oneline -n 20 -p
ls = log --stat --abbrev-commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment