728x90
반응형
1️⃣ 각자 브랜치로 checkout
git checkout [각자 브랜치명]
2️⃣ 변경사항 push 하기
git add .
git commit -m "커밋 메시지"
git push
3️⃣ master 브랜치 pull 받기
git pull origin master
4️⃣ 상태 확인
git status
5️⃣ 다시 push 하기
git add .
git commit -m "커밋 메시지"
git push
6️⃣ 이후 master 브랜치에서 merge 작업하기
반응형
'형상관리 > Git' 카테고리의 다른 글
[git pull 에러] Please commit your changes or stash them before you merge (0) | 2021.05.14 |
---|---|
[git pull 에러]please move or remove them before you merge (0) | 2021.05.13 |
로컬에 있는 내용 무시하고 git 에서 내려받기(강제 pull) (0) | 2021.04.28 |
git commit messages 변경 (0) | 2021.04.23 |
push 시 remote: Repository not found 에러 (0) | 2021.03.30 |