[Git] Make main branch same level with dev

Darcy Daeseok YU ·2024년 7월 9일

Branches

main v0
dev v0

then make hotfixes

main v1 -> hotfix-1 -> merge into dev but main 

Branches after hotfix-1

main v0
dev 

Branches after hotfix-1

main v1 -> hotfix-2 merge into dev and main, error occurs 

main v0/2
dev v0/1/2

git reset --hard dev
git push origin main --force

profile
React, React-Native https://darcyu83.netlify.app/

0개의 댓글