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)
相关文章
- git pull时提示 master has no tracked branch
- git报错:Your branch and ‘origin/master‘ have diverged
- Git上传项目提示Push rejected: Push to origin/master was rejected解决办法
- IDEA使用GIT push的时候提示“push to origin/master was rejected”解决方案
- git push origin master 上传失败
- Push rejected: Push master to origin/master was rejected /failed to push some refs to /git did not exit cleanly
- [git]Your branch is ahead of ‘origin/master‘ by 1 commit.
- git commit提示Your branch is up-to-date with ‘origin/master‘.
- 解决Git向码云中push文件报错:! [rejected] master -> master (fetch first)
- git:git push 本地文件 报错 [rejected] master -> master (non-fast-forward) error:failed to push som refs..