git svn rebase 㧠conflict ããã¨ãã®è§£æ¶æé
ã¡ã¢ã
$ git svn rebase
ããã¨ãã«ãèªåçã«ãã¼ã¸ã§ããã
CONFLICT (content): Merge conflict in path/to/conflicted_file
When you have resolved this problem run "git rebase --continue". If you would prefer to skip this patch, instead run "git rebase --skip". To restore the original branch and stop rebasing run "git rebase --abort". rebase refs/remotes/trunk: command returned error: 1
ãããªã¡ãã»ã¼ã¸ãåºãã¨ãã®è§£æ¶æé ã
status ã確èªããã¨ãããªãããã
$ git status path/to/conflicted_file: needs merge # Not currently on any branch.
# Changed but not updated: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # unmerged: path/to/conflicted_file
ç¾å¨ãã©ã® branch ã«ãããªããããã§ãã
è¡çªãèµ·ããããã¡ã¤ã«ã¯æç·¨éã§è¡çªã解æ¶ã
ãã®å¾ãgit svn rebase ã®ã¡ãã»ã¼ã¸ã«ãããã£ã¦ git rebase --continue â¦ãããæãããã
$ git rebase --continue You must edit all merge conflicts and then mark them as resolved using git add
ç·¨éãæ¸ãã ãã¡ã¤ã«ã¯æããªãããããªããããã
$ git add path/to/conflicted_file $ git rebase --continue
ããã§ãrebase å®äº (git svn rebase --continue ã§ã¯ãªããã¨ã«æ³¨æ)ã
$ git status # On branch master (snip)
master branch ã«æ»ã£ã¦æ¥ã¾ããã
ããåãã£ã¦ãªãã®ã§ãã¾ããã¨ããããã£ãã誰ãæãã¦ãã ããã