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?
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
Don't use the gui ^^ ... a git add .
will add all new files to the index.
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.
You could have a look at GIT Extensions for a different GUI - I find it pretty easy to use.
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
In Git Gui, You can stage all files at once with menu option:
commit
> Stage changed files to commit
or shortcut ctrl + i
精彩评论