threads / discuss / 1691

git commit question

Subject: git commit question

## tl;dr

2 messages between Aug 29, 2005 and Aug 29, 2005.

replies: 1people: 2as markdown or json

Ben Greear· Aug 29, 2005, 19:58 UTC · lore

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

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com
Junio C Hamano· Aug 29, 2005, 20:36 UTC · re: Ben Greear · lore

Re: git commit question

Ben Greear <greearb@candelatech.com> writes:
> 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).

← back to recent threads