12

I was wondering if there is a way to set the checkbox default setting to not checked/none when you try to commit files into the repository. The default setting for commit is set to check all, but I would like to avoid running into the scenario where I accidentally check in items by mistake. Is there a way to configure the setup for SVN to uncheck the boxes when you first hit the commit button?

Wolf
  • 9,679
  • 7
  • 62
  • 108
user974047
  • 2,115
  • 7
  • 33
  • 45
  • Meanwhile (TortoiseSVN 1.9.6) there is a maybe [more general solution available](https://stackoverflow.com/a/45998001/2932052) – Wolf Sep 01 '17 at 10:17

3 Answers3

31

Simple, you have the option here

Menu Settings -> Dialog 2 -> Select Items Automatically = uncheck

enter image description here

Steve
  • 213,761
  • 22
  • 232
  • 286
  • maybe interesting for you that there is [selection-(un)checking](https://stackoverflow.com/a/45998001/2932052) implemented meanwhile. – Wolf Sep 01 '17 at 10:19
  • @Wolf good to know, mainly switched to git now but it is useful nevertheless – Steve Sep 01 '17 at 10:35
4

A really cool feature I found today that is also a solution for the problem described. It's possible to check or un-check multiple items at once.

If you select items in the list (maybe all by pressing Alt+A), you can change the check on the selection. Just click on one item contained within the selection.

before

enter image description here

after

enter image description here

Community
  • 1
  • 1
Wolf
  • 9,679
  • 7
  • 62
  • 108
1

You can uncheck specific files by default using a special changelist named ignore-on-commit.

  • In the Commit dialog, perform (on a file with changes) Right click > Move to changelist.
  • Name the changelist ignore-on-commit

The next time you open the Commit dialog, the file will be unselected.

This works also in IntelliJ etc.

mihca
  • 997
  • 1
  • 10
  • 29