- git add . - git commit -m “message” // commit 한 내용이 head에 반영된다.
git checkout // 현재 브랜치 git commit // commit을 한번 한다. git checkout main ( main 브랜치로 돌아간다. ) git merge <합칠 브랜치 이름 > ( main에 합쳐 넣는다. )
git checkout 브랜치
git branch -r