[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about git
From: |
Ben Pfaff |
Subject: |
Re: Question about git |
Date: |
Sat, 07 Feb 2009 16:25:43 -0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Michel Boaventura <address@hidden> writes:
> When I type git clone git://git.savannah.gnu.org/pspp.git on my
> console, git downloads the last version of master branch to my pc.
> How do I tell it to download the last stable branch? Is there a way to
> have on the same folder both branches, and change betwen they
> easily?
Once you clone the repository, you have a copy of all available
branches locally. You can switch from the master branch to the
stable branch by typing "git checkout origin/stable". You can
list all the available branches by typing "git branch -a".
--
Ben Pfaff
http://benpfaff.org