Search code examples
smartgit

Is there a way to stage all changed files before a commit?


Right now I'm manually selecting each changed file for staging before committing. I'm curious whether there's a SmartGit equivalent to

git commit -a

perhaps a shortcut to select all changed files (other than those being .gitignored).


Solution

  • When having selected the repository root directory in the Repositories view and having the focus in this view, operations like Stage and Commit will work on all available files, regardless of which files are currently visible in the Files view (e.g. you might have selected to hide untracked files).