[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gits] n00b git question

	Rob> With master checked out, just do 'git checkout -b <mynewbranch>',
	Rob> which will create the branch and switch to it. Then just 'git
	Rob> checkout <branch>' to move between master or your new branch.

PS: "git branch" will print a list of the branches.  The current branch is
marked with a *.

In case you forget which branch you are on, which never happens :-).

Eric Eide <eeide at cs.utah.edu>  .         University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX