Error rebaseing/updating a git-svn repository

后端 未结 3 2045
-上瘾入骨i
-上瘾入骨i 2020-12-09 16:45

Hoping this is not a dup, I didn\'t find any concise information on how to update a git-svn repo. I used git svn clone to import an SVN repo into git. Then, after doing some

3条回答
  •  -上瘾入骨i
    2020-12-09 17:36

    Looks like you have uncommitted file changes.

    git status
    # if you see pending changes, you can do multiple things
    
    1. Stash them and pull latest and revisit them.

      git stash git svn rebase git stash pop

    2. If changes are intended and u like to commit it.

      git add git commit -m '' git svn rebase

提交回复
热议问题