git status
git config --global user.name "Mona Lisa" git config --global user.email "mona@lisa.com"
git rm -r --cached . git add . git commit -m "fixed untracked files"
password 캐시해서 암호 물어보지 않음
git config --global credential.helper cache
커밋할 때 LF로 변경
# 설정 $ git config --global core.eol lf # 설정 확인 $ git config --global --list | grep core.eol
Windows
git config --global credential.helper wincred
Linux
git config --global credential.helper cache
git revert --strategy resolve <commit-id>
git cherry-pick <commit-id>