Skip to content

Instantly share code, notes, and snippets.

@mingyuchoo
Last active August 21, 2022 03:30
Show Gist options
  • Save mingyuchoo/2b85d4d5147bcc1dbe9d99f05654585b to your computer and use it in GitHub Desktop.
Save mingyuchoo/2b85d4d5147bcc1dbe9d99f05654585b to your computer and use it in GitHub Desktop.
Git config
[user]
email = <my-email-address>
name = <my-name>
[color]
ui = auto
[core]
editor = vim
autocrlf = input
longpaths = true
[credential]
helper = store
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[merge]
tool = vimdiff
[pager]
branch = false
[pull]
rebase = false
[push]
default = simple
[alias]
unstage = reset HEAD -- .
uncommit = reset HEAD~
ls = log --oneline --graph --all --pretty=format:'\
%C(red)%h%C(reset) \
-%C(yellow)%d%C(reset) \
%C(green)(%cr)%C(reset) \
%C(blue)<%an>%C(reset) \
%s'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment