FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-16-2009, 10:07 PM
Andrei Popescu
 
Default 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>

ok

> 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).

Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
 

Thread Tools




All times are GMT. The time now is 09:54 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org