views:

348

answers:

2

I have just created a GIT on a folder. I now want to add the contents of that folder by "staging" all the files. In the GUI, is there a way to select all the files. I have well over 4000 files and clicking one at a time is proving to be a bit of a pain.

+2  A: 
git add *

or just

git commit -a -m "your message"

Don't mess around with the GUI.

Vince
How does this answer the OP's question?
Brian Gianforcaro
If someone here asks what's the best way to write a C compiler in javascript, are contributors bound to respond to that question exactly? I hoped to show the submitter a more useful way.
Vince
`git add .` in top directory
Jakub Narębski
+4  A: 

Yes,

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

Or go to commit -> stage to commit

Sam Saffron
There are days when my mind seems to be smaller than my butt, but strangely full of the same thing :)
baash05
Thank you...
baash05
@baash, no big deal, it took me a while to find that setting its kind of hidden, I was expecting right click to work.
Sam Saffron