Skip to content

Instantly share code, notes, and snippets.

@doowonee
Last active August 23, 2020 05:40
Show Gist options
  • Save doowonee/0f5bade9dde549e3f9ff74cb19aa7ff1 to your computer and use it in GitHub Desktop.
Save doowonee/0f5bade9dde549e3f9ff74cb19aa7ff1 to your computer and use it in GitHub Desktop.
my git configuration file
[user]
email = the1900.me@gmail.com
name = the1900
[core]
editor = code --wait
quotepath = false # git status시 한글 꺠짐 방지
[credential]
helper = store # Windows 는 안됨 평문으로 인증 정보 저장되니 주의!
[diff]
tool = vscode
[difftool "vscode"]
cmd = code --wait --diff $LOCAL $REMOTE
[alias]
# commit 로그를 색상과 그래프를 사용하여 표시
lg = log --graph --pretty=format:\"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ci) %C(bold blue)<%an> %Creset\" --abbrev-commit
# 원격 브렌치 현황 갱신 (삭제된 remote 브렌치 제거등..)
pu = pull --prune
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment