[英]getting rejected non fast forward issue in egit
是的。
您嘗試將代碼從不同的分支推送到 master,但您不能。
# commit all your changes to the desired branch (develop is i understand you correctly)
# checkout the master branch
git checkout master
# merge the changes from develop into master
git merge develop
# now push the changes
git push origin master.
git merge 創建了一個新的合並提交,現在您可以將其推回 master。
對我來說.. Rebase有效。 之后,我能夠將我的更改推送到存儲庫。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.