puzzling instructions in kernel dev manual, section 2.3.1
Robert P. J. Day
just noticed this in kernel dev manual, section 2.3.1:
"To force a pickup and commit of all such pending changes, enter the following: $ git add . $ git commit -s -a -m "getting rid of -dirty" the "-a" option with "commit" means, "Tell the command to automatically stage files that have been modified and deleted, but new files you have not told Git about are not affected." but the previous command, "git add .", by using an argument of ".", has already staged any new files, has it not? perhaps the preceding command should have been "git add -u" for update mode? or am i just confused? rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
|
|