Re: Let's Try Something New(tm)

Kyle McMartin <[email protected]>
Newsgroups gmane.linux.ports.hppa
Message-ID <[email protected]>
On Sat, Feb 17, 2007 at 03:30:18AM -0700, Grant Grundler wrote:
> On Sat, Feb 17, 2007 at 01:46:48AM -0500, kyle mcmartin wrote:
> > And, well, I'm kind of getting sick of it. I propose for at least the next
> > few months, instead of everyone being able to pollute the shared tree, they
> > keep all their work in branches. Instead of merging or pushing, or whatever,
> > you can send the patches to the list for review. This will work more or less
> > like linux-kernel does, hopefully. 
> 
> Ok. Fair enough. Well said. Can someone with more git experience than I
> have share a recipe for creating and committing to a git branch?
> Maybe post that on one of the existing HOW-TO web pages or a new wiki page?
> 

I will post it to the wiki page, but the basic gist is you checkout a new
branch...

git checkout -b NEW_BRANCH_NAME

to branch off of the current working branch...

Or

git checkout -b NEW_BRANCH SOME_TAG_OR_OTHER_HEAD_OR_SHA1

to build a new branch at some previous or future point.

You can see what you're doing when you gitk afterwards.

Use git-branch to find out what branch you are on.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.