git svn - git svn clone > git svn rebase > Unable to determine upstream SVN information from working tree history -
i trying keep read-only checkout of ,http://googleappengine.googlecode.com/svn/trunk/python git repository, stored remote in github.
1) $git svn clone http://googleappengine.googlecode.com/svn/trunk/python.
2) $git svn rebase
-- unable determine upstream svn information working tree history
so started reviewing .git/config file fix problem, , at:
[svn-remote "svn"]
fetch = :refs/remotes/git-svn
url = http://googleappengine.googlecode.com/svn/trunk/python
[remote "origin"]
fetch = +refs/heads/:refs/remotes/origin/
url = git@github.com:...private_url...
[branch "master"]
remote = origin
merge = refs/heads/master
my need fetch , merge last commit, , push changes github. i've been looking solutions , none seem work me far, pointers helpful.
thanks in advance :)
the best thing clone entire repo (even if gets java stuff don't want):
git svn clone -s http://googleappengine.googlecode.com/svn/
(-s states have standard layout, branches, tags , trunk in appropriately named directories).
doing other way complicated, because you'll want map branches exist in directories branches/1.1/python branches/1.2.1/python etc, , far can tell git-svn won't accept specification of form branches/*/python
Comments
Post a Comment