명령어
git pull origin master —allow-unrelated-histories
→ git pull이 안 되면 사용자 잘못이므로 사용하지 말아야 되지만 꼭 강제로 pull하고 싶을 때 사용
git push origin master -f
→ git push가 안 될 때 강제로 push
git config —global core.ignorcase false
→ git에서 대문자, 소문자를 구분하게 설정
git rm —cached <파일명>
→ index에서 해당 파일을 삭제(예전 상태로 돌리는 것이 아닌 그냥 삭제)
git restore —staged <파일명>
→ unstage함(이전 index 상태로 돌림)
github → history에서 commit선택 → browse files → code → zip으로 해당 commit시점 파일 다운 가능