[clug] "git" hints?

Alex Satrapa grail at goldweb.com.au
Thu Nov 13 04:16:29 GMT 2008


On 13/11/2008, at 14:55 , Peter Barker wrote:

> On Thu, 13 Nov 2008, Alex Satrapa wrote:
>
>> just want to stash them away somewhere to come back to later. I  
>> don't want to lose them forever.
>
> Oh, I dunno... you could use "git stash", I guess... :-)

[alex at here]% git help stash
...

*raises an eyebrow*

Now why didn't I see that earlier?  Thanks :)


FWIW, I'm trying to a bunch of stuff here with git, Bazaar and  
Subversion. I have to say, git is *fast*. It's OMG fast. Bazaar is all  
written in Python, which means that every time I execute a "bzr ..."  
command I can go make a cup of tea before it's finished just loading  
up all the classes. I haven't been game to do anything exciting with  
Bazaar yet, simply because I haven't had a second wet Sunday this week.

When working with Subversion at a previous job, I'd go to painful  
lengths to keep branching every time I had a major piece of work ahead  
of me. My ~/src folder would have a dozen versions of  
"NiftyProject-172", "NiftyProject-185" for all the Trac tickets I was  
trying to fix. What a mess!

Which leads to my next question: I am only just starting to wrap my  
head around git-svn. What I've figured so far is:

   git checkout -b South south-integration

Will branch the local git repository to "South", and checkout the code  
that exists in the Subversion repository at the (magic) path  
"<repository>/branches/south-integration".

Any suggestions on how to create a new branch on the Subversion  
repository using git? One git manpage[1] on the Internet suggests that  
git-svn has a "branch" command, but I can't find this on my version  
(1.6.0.2 from MacPorts).

Alex

[1] http://www.kernel.org/pub/software/scm/git/docs/git-svn.html



More information about the linux mailing list