http://book.git-scm.com/3_basic_branching_and_merging.html

you can also do
1 git branch playing
2 git checkout playing
3 -- perform changes
4 git checkout master
-- you're back to level 2, but 3 is avail
5 rebuild as above
6 git checkout playing
-- you're back to your playing

git is really cool and probably a new paradigm for source control depending
on where you're coming from (although there are a few other distributed
systems that are also worthy)

On Sat, Nov 13, 2010 at 11:53 PM, Chris Double <chris.dou...@double.co.nz>wrote:

> On Sun, Nov 14, 2010 at 8:52 PM, Chris Double <chris.dou...@double.co.nz>
> wrote:
> > 2) In this repository you make your own changes, including adding
> > stuff to the work directory, editing files, etc. Now you want to save
> > those in git so you can update safely.
> >
> >  git add work/my-new-vocab/*
> >  git add any-other-new-files
> >  got commit -m "This is a message describing my changes"
>
> That last line should be:
>
> git commit -a -m "This is a message describing my changes"
>
> Note that '-a' switch.
>
> Chris.
> --
> http://www.bluishcoder.co.nz
>
>
> ------------------------------------------------------------------------------
> Centralized Desktop Delivery: Dell and VMware Reference Architecture
> Simplifying enterprise desktop deployment and management using
> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
> client virtualization framework. Read more!
> http://p.sf.net/sfu/dell-eql-dev2dev
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>



-- 
Jim
"I'm for extending the working Medicare program for our seniors all the way
back to contraception, so Americans can concentrate on living their lives
without fear of changing a job, going bankrupt from deductibles or fighting
HMO bureaucracy."
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to