Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] git feedback

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "Andraž \"ruskie\" Levstik" <ruskie AT mages.ath.cx>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] git feedback
  • Date: Fri, 28 Jul 2006 19:14:46 +0200

Jeremy Blosser wrote :

> > In git there is only one directory and I have to use "git diff" and get
> > its a/... b/....
> > Why a/... and b/... and not test/... and stable-rc/...?
>
> There's nothing stopping you from keeping a directory on disk for each
> branch you want to work with. Just clone the repository multiple times and
> keep each clone on a different branch. You have to do cherry-picks between
> local branches of the same clone, but that shouldn't even be a noticeable
> distinction at the local clone level.
>
> Note that if you do this, you will want to use a more specific pull syntax
> to keep those other clones updated. git-pull origin devel:devel, etc.
>
I recommend you look at my Cogito_Guide on the wiki. I also don't like
this multihead stuff:

Here's how I like to work:

$ cg clone git+ssh://upstreampath#branchname mylocalclone-branch

That's all I can then use the same commands as above to work on it... It
does need to have the email and commiter set properly again though.

That way I have one dir/branch and can use plain unix commands. The
setup I like is how the xmms2 ppl have git setup(their site is offline
atm). But they have a diff tree for each branch.


--
Andraž "ruskie" Levstik
Source Mage GNU/Linux Games grimoire guru
Geek/Hacker/Tinker

Hacker FAQ: http://www.plethora.net/%7eseebs/faqs/hacker.html
Be sure brain is in gear before engaging mouth.

Key id = A7A9E461
Key fingerprint = 757E C16B F5B7 DC27 B003 CCED CF95 3A77 A7A9 E461





Archive powered by MHonArc 2.6.24.

Top of Page