내가 자주 사용하는 명령어 모음
외부 Repository의 브랜치 pull하기
git pull <git_url> <branch> --allow-unrelated-histories
git pull <git_url> <remote branch>:<local branch>Upstream 등록하기
git remote add upstream https://github.com/jam2in/arcus-hubble-v3.git
git pull upstream {branch name}
git push upstream {branch name}브랜치 이동하기
git switch {branch name}
git switch -c {branch name}Merge 하기
Rebase 하기
Commit 명 변경하기
Stash하기
사라진 Stash 찾기
PR 커밋 로컬로 가져오기
✅ 특정 커밋을 현재 브랜치로 떼오기
다른 사람 레포지토리 커밋에 내용 덮어써서 커밋하기
Last updated