[Catalyst-commits] r14232 - trunk/examples/CatalystAdvent/root/2011
caelum at dev.catalyst.perl.org
caelum at dev.catalyst.perl.org
Thu Dec 22 16:23:32 GMT 2011
Author: caelum
Date: 2011-12-22 16:23:32 +0000 (Thu, 22 Dec 2011)
New Revision: 14232
Modified:
trunk/examples/CatalystAdvent/root/2011/22.pod
Log:
minor changes to 22.pod
Modified: trunk/examples/CatalystAdvent/root/2011/22.pod
===================================================================
--- trunk/examples/CatalystAdvent/root/2011/22.pod 2011-12-22 15:03:16 UTC (rev 14231)
+++ trunk/examples/CatalystAdvent/root/2011/22.pod 2011-12-22 16:23:32 UTC (rev 14232)
@@ -87,8 +87,8 @@
part of your project.
The current checked out commit is called C<HEAD>. You do not generally make a
-new directory to view another commit or branch, you simply use commands to
-switch between them.
+new directory to view another commit or branch, you simply use commands such as
+C<git checkout> to switch between them.
Files that you want to be part of your project need to be added with C<< git add
<file> >> and they will be added on the next commit. You can see which files you
@@ -209,6 +209,9 @@
Branch names can have slashes in them. Many projects like to name branches
C<topic/foo>.
+To see a list of your local branches, use the command C<git branch>, to see all
+branches including remote branches, use C<git branch -a>.
+
To switch branches, including to the C<master> branch, use C<< git checkout
<branch-name> >>. You cannot switch branches if you have uncommitted changes.
More information about the Catalyst-commits
mailing list