Merge
-
[Git] - Master / Main Merge개발/Git 2022. 7. 20. 17:33
1. Master -> Main master에 있는 걸 main에 다갖다 덮어쓰기 "There isn't anything to compare. Nothing to compare, branches are entirely different commit histories" $ git checkout master $ git branch main master -f $ git checkout main $ git push origin main -f 2. Branch default set $ git config --global init.defaultBranch main 3. Delete Branch $ git push origin --delete master