Visual Studio 2015 Update 2, TeamExplorer: where is the exception option?

Yesterday I upgraded to VS 2015 Update 2! I noticed the ability to create files in TeamExplorer ( https://www.visualstudio.com/en-us/news/vs2015-update2-vs.aspx ).

New stage option

But why did the “Exclude from change” option go away? At least I can’t find him anymore! I find this very unpleasant because I used it to create just one file! How can I transfer only one file in a new update of VS 2015? Maybe I'm watching something.

+8
git visual-studio-2015
source share
2 answers

You can create your own single file, and then the CommitAll button will be changed to CommitStaged. So now, if you need to commit one of 7 files, you do not need to exclude 6 others, but you only need to create one.

+10
source share

As already mentioned, Visual Studio is now closer to the git workflow. Thus, there is no separate exception option, but the scene area matches the settings in the .gitignore file.

Therefore, instead of using the Visual Studio exclusion option, use the git .gitignore file to exclude files and directories. In addition, this will mean that other git tools also respect ignored / excluded files.

See the documentation for the .gitignore file here: https://git-scm.com/docs/gitignore

+1
source share

All Articles