Answers for "rejected main --> main git"

0

! [rejected] main -> main

1. First run this
git fetch origin main
git merge origin main

2. Then run this commands
git fetch origin main:tmp
git rebase tmp
git push origin HEAD:main
git branch -D tmp
Posted by: Guest on June-13-2021

Code answers related to "rejected main --> main git"

Browse Popular Code Answers by Language