When I'm commiting to the GIT repository I need to either add files to the index prior to clicking Commit or I need to change Commit mode to "Selected files" and manually select all the new files. What I want to achieve is to enable SourceTree to automatically add all the files that are modified or new in the local repository so I can just fill in the commit message and click Commit. I thought the setting "Select all files when selecting commit" does the trick but it doesn't seem to do anything. Thank you, Adam.
Hi Adam,
In the index you can just Cmd+A to select all files and hit 'Commit' which will have them all selected. Alternative in the SourceTree Preferences you can turn off the "Use staging area" option (meaning you can't explicitly stage files) under the Git tab. When committing with this option turned off all files will be selected, too. There's a couple of options available. If neither of these are applicable to you then you could raise a feature request at jira.atlassian.com
Hope that helps
Turning off the staging area is exactly what I had in mind! :-) Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Adam. Are you using the Windows or mercurial version? Thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.