Charles Lepple
2008-Jun-21 15:24 UTC
[Nut-upsdev] git and svn [was: [PATCH] nut: add autogen.sh]
On Fri, Jun 6, 2008 at 4:40 PM, Axel Gembe <ago at bastart.eu.org> wrote:> Well, just a simple helper. > > Signed-off-by: Axel Gembe <ago at bastart.eu.org>Axel, this looks like the output of git. How is that working out? Would you care to share some details on your setup? thanks, -- - Charles Lepple
Axel Gembe
2008-Jun-22 19:56 UTC
[Nut-upsdev] git and svn [was: [PATCH] nut: add autogen.sh]
Charles Lepple wrote:> this looks like the output of git. How is that working out? Would you > care to share some details on your setup? >Yes, indeed it is. I recently started using git-svn to clone svn repositories so I can work with them when my internet connection is lagging. Basically what I did was to first use "git-svn clone -s svn://svn.debian.org/nut/" which will get you a local copy with all the branches and tags. Then I do a "git checkout master && git-svn fetch && git-svn rebase" to update my local copy when I need something new. I'm having a local branch set up on which I make my changes and when I want to get my changes onto the latest trunk I do a "git rebase -i master". I create my patches using git-format-patch. I never had the time to test out stuff like dcommit yet, but I heard it works good. If you need anymore details, I'll provide them. - Axel
Charles Lepple
2008-Jun-22 20:04 UTC
[Nut-upsdev] git and svn [was: [PATCH] nut: add autogen.sh]
On Sun, Jun 22, 2008 at 3:56 PM, Axel Gembe <ago at bastart.eu.org> wrote:> Charles Lepple wrote: >> this looks like the output of git. How is that working out? Would you >> care to share some details on your setup? >> > Yes, indeed it is. I recently started using git-svn to clone svn > repositories so I can work with them when my internet connection is lagging. > Basically what I did was to first use "git-svn clone -s > svn://svn.debian.org/nut/" which will get you a local copy with all the > branches and tags. > Then I do a "git checkout master && git-svn fetch && git-svn rebase" to > update my local copy when I need something new. > I'm having a local branch set up on which I make my changes and when I > want to get my changes onto the latest trunk I do a "git rebase -i master". > I create my patches using git-format-patch. I never had the time to test > out stuff like dcommit yet, but I heard it works good. > If you need anymore details, I'll provide them.Thanks for explaining! Just tried the 'git-svn clone' command, but it seems to be pulling down the entire repository. Is there a way to tell git to just start from the latest trunk and branches? -- - Charles Lepple