Skip to contentSkip to conversation

git commit question

DISCUSSION Ben Greear 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

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
#1 lore raw
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).