1. git branch -d QA
2. git branch QA master
3. git checkout QA
4. git push origin QA(if push error, use git pull origin QA, and then git push)
相关文章
- IDEA中git提交代码报错:Push to origin/master was rejected
- 解决Git报错:The current branch is not configured for pull No value for key branch.master.merge found in configuration
- Push to origin/master was rejected (Git提交错误)
- git push origin master报错【及】MERGE_HEAD exists报错解决办法
- idea提交git报错Push rejected: Push to origin/master was rejected
- Git删除master branch中最近一次的提交
- git报错You are not allowed to force push code to a protected branch on this project
- 用git bash 传数据到远程出错:git push origin master 出错:error: failed to push some refs to
- git:解决The current branch is not configured for pull No value for key branch.master.merge found in config
- git push origin master 错误解决办法