본문 바로가기

GIT4

[GIT] git commit message 수정 + 상세 과정! https://velog.io/@mayinjanuary/git-%EC%BB%A4%EB%B0%8B-%EB%A9%94%EC%84%B8%EC%A7%80-%EC%88%98%EC%A0%95%ED%95%98%EA%B8%B0-changing-commit-message [git] 커밋 메세지 수정하기 (changing commit message) 로컬에 있는, 혹은 리모트에 이미 올라간 commit message 를 수정하는 방법을 알아봅니다. 가장 최신의 commit 을 수정하는 방법과, 더 오래된 commit 을 수정하는 방법을 알아봅니다. velog.io 참고한 블로그 https://docs.github.com/en/github/committing-changes-to-your-project/creating-and.. 2021. 11. 2.
[GIT] .gitignore 활용 자바 프로젝트에서의 .metadata 폴더나 파이썬, WAMP에서 웹 작업하면 생기는 __pycache__ 폴더 등을 커밋해서 github에 올려버렸다. 다시 .gitignore에 해당 폴더들을 추가해서 다시 commit했음에도 적용이 안되던 것이다.. 도대체 왜 안될까 계속 검색하고 공부하다 보니 https://mingnol2.tistory.com/m/131?category=792406 [git-ignore] .gitignore 파일 설정하기 로컬에 .gitignore 파일을 만든다. .metadata/ Servers/ *.class *.classpath /target/ /bin/ 원격 저장소에 설정을 반영한다. $ git rm -r --cached [파일명] $ git add [파일명] $ git c.. 2021. 10. 28.
[GIT] 로그인 유지 보호되어 있는 글 입니다. 2021. 10. 22.
[git] Revert commit 문제 해결 github을 컴퓨터랑 연동하기에 앞서 git을 잘 써보려고 유튜브에서 얄코님의 강의를 따라하고 있었다. https://youtu.be/FXDjmsiv8fI 그러던 중 revert부분에서 terminal을 이용한 실행에서 자꾸 error가 나서 고민하다 자고 일어나서 다시 찾아봐야지 했다 일어나서 다시 에러를 구글링했더니 https://stackoverflow.com/questions/52195877/how-can-i-fix-git-commit-error-waiting-for-your-editor-to-close-the-file-wi/52196507 How can I fix git commit error "Waiting for your editor to close the file..." with VS C.. 2021. 8. 23.