Search code examples
gitstaginggit-gui

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


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.


Solution

  • In the GUI, is there a way to select all the files?

    Yes:

    1. Select all items as follows: select the top one, hold Shift, then select the bottom one.

    2. Press Ctrl + T to add (stage) all selected files at once.

      Or, instead of pressing Ctrl + T, go to Commit at the top -> Stage To Commit.