views:

129

answers:

4

I have a ton of new files to commit. Clicking each one to stage is annoying. How can I can I commit a whole bunch of files at once?

+4  A: 

Don't use the gui ^^ ... a git add . will add all new files to the index.

tanascius
Awesome, thanks a lot.
+1  A: 

I think if you high light them all and type ctrl+t, then you should stage all the selected files, although I find one normally gets left over for some unknown reason.

Matt Ellen
+1  A: 

assuming you have cygwin installed, you can type git commit -m 'whatever' after you have added the changes to the staging area. To do a mass add do the following: git add .

this is, of course, done in the command prompt

Jonathan Mayhak
+2  A: 

You could have a look at GIT Extensions for a different GUI - I find it pretty easy to use.

Paddy