I have a svn repository that I need to push a SDKs' folder to a github repository. The catch is that I need to preserve the svn history related to the SDKs' folder and push it, with their respectives commit messages, to github.
I've created a git repository using git-svn but I'm stuck on what to do next. I've also tried to add a submodule, for the SDKs folder, but for some reason I can't push it back to the svn repository.
You can convert a SVN subdirectory to a git repo provided the SVN repo has the right structure (for tags especially)
Once that git repo exists,
That way, any modification made to that submodule will end up in your independent GitHub_SDK repo (or its local copy) and can be pushed back ( git svn dcommit
) to its SVN repo.
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.