Visual Studio 2015 Update 2 Team Explorer Missing 'Exclude'

前端 未结 1 1840
悲哀的现实
悲哀的现实 2021-02-02 07:19

I have been using the Git integration from within the Team Explorer section in Visual Studio 2015.

I have an number of config files in my solution that require modificat

相关标签:
1条回答
  • 2021-02-02 07:49

    Visual Studio now follows the Git terminology instead of the TFS source control Include/Exclude. In Git your changes are un-staged by default. From now on that's the case in VS too, and you can right click on the files you want to gather for the next commit and select "Stage". Once you staged some files, you can commit these staged files exclusively by Commit Staged button (the caption changes from Commit All after you stage at least one file).

    As a shortcut however, when you want to commit every changed files at once - and all of them are unstaged initially - you can stage and commit them with one click with Commit All button.

    First this surprised me. But knowing the Git terminology it totally make sense. Include/Exclude comes form the original TFS source control mechanisms, it served similar purpose, but it could have been confusing for those who where new to VS but knew Git.

    0 讨论(0)
提交回复
热议问题