Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I commit many new files with git gui without clicking each of it?

I have a ton of new files to commit. Clicking each one in git gui (Windows) to stage is annoying.

How can I can I commit a whole bunch of files at once?

like image 733
user94154 Avatar asked Apr 09 '10 15:04

user94154


4 Answers

A nice answer from @Sam Saffron to a similar question states

Select the items (select top one, hit shift, select bottom one) and hit CTRL T

Or go to commit -> stage to commit

like image 125
nulltoken Avatar answered Nov 28 '22 11:11

nulltoken


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

like image 34
tanascius Avatar answered Nov 28 '22 13:11

tanascius


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.

like image 43
Matt Ellen Avatar answered Nov 28 '22 12:11

Matt Ellen


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

like image 42
Paddy Avatar answered Nov 28 '22 11:11

Paddy