Git

유용한 Git 명령어 정리 (1)

HYJJ 2022. 4. 28. 13:56

자꾸 까먹어서 기록용으로 남긴다. 

 

- 특정 브랜치 특정 파일 patch
git checkout -p [브랜치] [파일 경로]

- 다른 branch에서 pull 해오기
git remote update 
git pull origin [브랜치이름]

- 특정 커밋 pull 해오기
git cherry-pick [커밋 넘버]