From: Yves Orton Date: Sat, 20 Dec 2008 14:11:18 +0000 (+0100) Subject: explain more stuff about status X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7f6effc75c40e04415028b3c68e8cb6a07f3f21d;p=p5sagit%2Fp5-mst-13.2.git explain more stuff about status --- diff --git a/pod/perlrepository.pod b/pod/perlrepository.pod index 05b1e1a..35c4262 100644 --- a/pod/perlrepository.pod +++ b/pod/perlrepository.pod @@ -166,14 +166,31 @@ that there were further changes in the working directory not yet staged. It 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 which has not been pushed to the -C remote yet. +C remote yet. B: that this output is also what you see as a +template if you do not provide a message to c. + +Assuming we commit all the mentioned changes above: + + % git commit -a -m'explain git status and stuff about remotes' + Created commit daf8e63: explain git status and stuff about remotes + 1 files changed, 83 insertions(+), 3 deletions(-) + +We can re-run git status and see something like this: + + % git status + # On branch blead + # Your branch is ahead of 'origin/blead' by 2 commits. + # + # Untracked files: + # (use "git add ..." to include in what will be committed) + # + # deliberate.untracked + 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 carefully, many questions are answered directly by the git status output. -NOTE: that this output is also what you see as a template if you do not -provide a message to c. - =head1 SUBMITTING A PATCH If you have a patch in mind for Perl, you should first get a copy of