git remote add upstream 깃허브upstream주소
git pull upstream develop
git merge upstream/develop
git reset --hard upstream/develop
=> 강제로 다 지우고
git checkout develop
git merge upstream/develop
메인도 같은 작업해야하고
마지막에
git pull
만
git branch
git checkout main
git remote -v
git remote add upstream upstream레파지토리주소
git remote -v
git fetch upstream
git merge upstream/main
git push origin main
git branch
git checkout develop
git pull upstream develop
git merge upstream/develop
git pull
git checkout main
git pull upstream main
git checkout develop
git add .
git commit -m '[2022-12-27-(#git pull)'
git push