IT
커밋하기 전에 'Git Add'를 어떻게 실행 취소합니까?
질문 Want to improve this post? Provide detailed answers to this question, including citations and an explanation of why your answer is correct. Answers without enough detail may be edited or deleted. 나는 명령을 사용하여 파일을 실수로 실수로 추가했습니다.git add myfile.txt 나는 아직 Git Commit을 실행하지 않았습니다.이 파일을 취소하는 방법이 있습니까? 따라서 이러한 파일은 커밋에 포함되지 않습니다.답변 커밋 전에 Git 추가를 취소 할 수 있습니다git reset 다른 것을 변경하지 않고 현재 색인 ( "tommited to ..
2022. 3. 23. 10:37
최근댓글