{"thread":{"id":"1691","subject":"git commit question","startedAt":"2005-08-29T19:58:08Z","lastAt":"2005-08-29T20:36:27Z","messageCount":2,"participants":["Ben Greear","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"7919","messageId":"431368D0.40604@candelatech.com","threadId":"1691","inReplyTo":null,"subject":"git commit question","fromName":"Ben Greear","fromEmail":"greearb@candelatech.com","sentAt":"2005-08-29T19:58:08Z","receivedAt":"2005-08-29T19:58:08Z","isPatch":false,"sender":{"key":"greearb@candelatech.com","avatar":null},"body":"I started a fresh kernel git repository since I buggered\nmy old one...\n\nI branched, applied patch, and ran git-update-cache.\n\nNow, when I run git commit, I see a long list of files on which\nevidently I need to run git-update-cache.\n\nIs there a way to tell it to add all modified files (that git commit mentions)\nto the cache for commit, or do I have to not be so lazy and\npaste them all on the cmd line?\n\nThanks,\nBen\n\n-- \nBen Greear <greearb@candelatech.com>\nCandela Technologies Inc  http://www.candelatech.com\n"},{"id":"7921","messageId":"7vd5nwa3as.fsf@assigned-by-dhcp.cox.net","threadId":"1691","inReplyTo":"431368D0.40604@candelatech.com","subject":"Re: git commit question","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-08-29T20:36:27Z","receivedAt":"2005-08-29T20:36:27Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Ben Greear <greearb@candelatech.com> writes:\n\n> Is there a way to tell it to add all modified files (that git commit mentions)\n> to the cache for commit, or do I have to not be so lazy and\n> paste them all on the cmd line?\n\nPerhaps 'git commit -a' is what you want (it is documented;\nhttp://www.kernel.org/pub/software/scm/git/docs/, especially\ngit-commit-script.html there).\n"}]}