git commit question
I started a fresh kernel git repository since I buggered my old one...
I branched, applied patch, and ran git-update-cache.
Now, when I run git commit, I see a long list of files on which evidently I need to run git-update-cache.
Is there a way to tell it to add all modified files (that git commit mentions) to the cache for commit, or do I have to not be so lazy and
paste them all on the cmd line?
Thanks,
Ben
Signature · 2 lines
Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com
Quoted 3 lines · Ben Greear
Is there a way to tell it to add all modified files (that git commit mentions) to the cache for commit, or do I have to not be so lazy and
paste them all on the cmd line?
Perhaps 'git commit -a' is what you want (it is documented;
http://www.kernel.org/pub/software/scm/git/docs/, especially git-commit-script.html there).