% git log
-And pull new changes from the repository, and update your local repository
+And pull new changes from the repository, and update your local repository
(must be clean first)
% git pull
% git status
-This command will produce as output a description of the current state of the
+This command will produce as output a description of the current state of the
repository, including modified files and unignored untracked files, and in addition
-it will show things like what files have been staged for the next commit,
-and usually some useful information about how to change things. For instance the
+it will show things like what files have been staged for the next commit,
+and usually some useful information about how to change things. For instance the
following:
$ git status
also shows that there was an untracked file in the working directory, and as
you can see shows how to change all of this. It also shows that there
is one commit on the working branch C<blead> which has not been pushed to the
-C<origin> remote yet. B<NOTE>: that this output is also what you see as a
+C<origin> remote yet. B<NOTE>: that this output is also what you see as a
template if you do not provide a message to c<git commit>.
Assuming we commit all the mentioned changes above:
nothing added to commit but untracked files present (use "git add" to track)
-When in doubt, before you do anything else, check your status and read it
+When in doubt, before you do anything else, check your status and read it
carefully, many questions are answered directly by the git status output.
=head1 SUBMITTING A PATCH
branch for these changes and switch into it:
% git checkout -b orange
-
+
which is the short form of
% git branch orange