Diary/Notepad
Git Bash 명령어
스테이지 등록 git add [파일명] 한 줄 Commit git commit -m "[메시지]" tracked와 동시에 commit git commit -am "[메시지]" 빈 메시지 commit git commit --allow-empty-message -m "" 최근 Commit Message 수정 git commit --amend Commit 내용 확인 git log 간략 로그 표시 (첫 번째 줄의 커밋 메시지만) git log --pretty=short 특정 Commit의 상세 정보 확인 git show 커밋ID (SHA1 해시키) 특정 파일의 로그 기록 보기 git log 파일 스테이지 , 워킹 디렉터리 변경 사항 확인 git diff (단, 스테이지에 등록(add)되면 감지되지 않음) 최신 ..
2023. 5. 12. 01:24