설명 쓸 데가 없어서 만든 블로그

자꾸 까먹는 git 명령어 본문

Git

자꾸 까먹는 git 명령어

천또배기 2020. 4. 19. 17:10

원격 저장소 연결 끊기

git remote remove origin

 

원격 저장소 branch 삭제

git push origin --delete [branch name]

 

히스토리 무시하고 원격 저장소 branch pull

git remote remove origingit pull origin [branch name] --allow-unrelated-histories

'Git' 카테고리의 다른 글

Learn Git Branching  (0) 2020.04.05
Comments