简体   繁体   中英

“git svn rebase” no associated commit metadata

I am mirroring a svn repository on my local computer and I decided to push it to a remote git server. The reason I needed to do so was so I could then add another repository as a submodule. However, now when I run the command:

    git svn rebase

I get:

    refs/remotes/origin/master: no associated commit metadata

I want to be able to update my local mirror from the svn repo and then push it to the remote git repository so that other people can clone that as a git repository.

Thanks!

A git svn rebase (which fetches revisions from the SVN parent of the current HEAD and rebases the current -- uncommitted to SVN -- work against it) would fail if one of those commits rebased are pure git.

git 2.10 (Q3 2016) would still allow that rebase.
See commit 2af7da9 (02 Jul 2016) by Eric Wong ( ele828 ) .
Suggested-by: Jacob Godserv ( javaJake ) .
See commit 19e9542 (03 Jul 2016) by Christopher Layne ( clayne ) .
Suggested-by: Jacob Godserv ( javaJake ) .
(Merged by Junio C Hamano -- gitster -- in commit 3f93370 , 11 Jul 2016)

git-svn : warn instead of dying when commit data is missing

It is possible to have refs globbed by git-svn which stores data purely in git; gently skip those instead of dying and assuming user error.

ref: mid.gmane.org thread

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM