📌  相关文章
📜  git push origin 分支被拒绝 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:07.096000             🧑  作者: Mango

代码示例1
#fetching remote 'feature/my_feature_branch' branch to the 'tmp' local branch 
git fetch origin feature/my_feature_branch:tmp

#rebasing on local 'tmp' branch
git rebase tmp

#pushing local changes to the remote
git push origin HEAD:feature/my_feature_branch

#removing temporary created 'tmp' branch
git branch -D tmp