Merge up to a specific commit

后端 未结 4 1890
旧巷少年郎
旧巷少年郎 2020-11-29 14:59

I created a new branch named newbranch from the master branch in git. Now I have done some work and want to merge newbranch to m

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-29 15:35

    Run below command into the current branch folder to merge from this to current branch, --no-commit do not make a new commit automatically

    git merge --no-commit 
    

    git merge --continue can only be run after the merge has resulted in conflicts.

    git merge --abort Abort the current conflict resolution process, and try to reconstruct the pre-merge state.

提交回复
热议问题