git-svn - pull from git repository with history to commit into svn repository
On Thu,08.Jan.09, 09:56:50, Micha Feigin wrote:
> I am using git-svn to access a svn repository. Due to some mistake I have some
> code that I've made several commits to on a git tree which is not linked to the
> svn repository.
> I would like to move these changes including all the commit history into the
> git repository.
> I tried doing
> git-svn clone <remote svn>
> git-pull <git repo>
> git-svn dcommit
Those were not such a good idea. According to the man-page, the
recommended way of sharing changes between git checkouts is
git-format-patch/git-am. Then you can dcommit (and each patch should
become a commit).
If you can't explain it simply, you don't understand it well enough.