상황별 git 유용한 명령 모음

2022. 3. 27. 21:32배움엔 끝이없다/Git 배워보기

디폴트 브랜치 이름을 main으로 변경하는 법 + master에 있던 것 main으로 바꾸는 법

https://stackoverflow.com/questions/67543278/git-how-to-change-default-branch-for-everything-i-do

 

Repository를 만들고 pull하기 전에 로컬에서 commit 했을때 (무관한 두 브랜치 합치기)

https://gdtbgl93.tistory.com/63

 

커밋 메세지 수정

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 배워보기' 카테고리의 다른 글

2편 - 브랜치  (0) 2021.09.21
1편 - 깃 기초  (0) 2021.09.20