Git 명령어

[GIT] main의 변경사항 적용시키기 rebase

git 원격지 브랜치 삭제(delete remote branch)

git switch [branch 이름] : branch이름으로 이동 ()

git checkout [branch이름] : branch이름으로 이동

git checkout -b [branch이름] : branch 생성하고 그 branch로 이동

git checkout -b [branch이름] [branch이름2] : [branch이름2] 에서 [branch이름] 을 만들고 거기로 이동

우리가 해야할 일

merge하는 법

git checkout (merge할 branch이름) git merge --no-ff (merge될 branch이름) git branch -d (merge된 branch이름) git add . git commit ~ git push origin (merge한 branch이름) 이렇게 하면 merge하고 다시 push하는 거

원격저장소에서 branch삭제 됐는데 반영 안되면