-->

How do I stage all files at once in Git Gui?

2019-01-18 17:41发布

问题:

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.

回答1:

Yes,

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

Or go to commit -> stage to commit



回答2:

git add *

or just

git commit -a -m "your message"

Don't mess around with the GUI.