team-explorer

Visual Studio 2015 Update 2 Team Explorer Missing 'Exclude'

孤街醉人 提交于 2019-12-02 20:06:32
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 modifications in order for the application to run locally but I don't want to commit those changes. In VS2015 Update 1 there was an 'exclude' option in the 'Changes' section of the Git integration that I could select the modified config files and exclude them from the set of changes. Those files would then not appear in the list of modified files going forward so they stayed excluded for future commits. Yesterday I installed Update 2

Visual Studio 2017 15.3.0 git changes include “storage.ide” even though .vs/ in .gitignore

拜拜、爱过 提交于 2019-12-02 15:48:45
I upgraded VS 2017 to 15.3.0 a few days ago. Since then file "storage.ide" has remained in my modified files, even through I have used a suggested .gitignore for VS , which includes the .vs/ folder. This includes the following. # Visual Studio 2015 cache/options directory .vs/ I then added the following to be more specific about ignoring this from the list of files to be tracked .vs/SIASAWeb/v15/sqlite3/storage.ide .vs/**/storage.ide The Changes in the Team Explorer shows the following: <project folder> .vs/<project>/v15/sqlite3 storage.ide I have tried to git reset this file, but this then

how to make git push origin --force ; in Visual Studio Team Explorer

[亡魂溺海] 提交于 2019-12-01 15:08:52
I recently had an issue where I had to disregard my last commit, so on the command line I did following: git push origin --force this works fine, however I normally make my push/pulls from inside Visual Studio Team Explorer, however I could not find out how to --force a push from there Is it possible or can it only be done from command line? You can enable --force without using command prompt in visual studio 2017 as follows Open team explorer. Team Explorer>Settings>Git>Global Settings check the enable push --force checkbox and that should do the trick like so For more info check out this

how to make git push origin --force ; in Visual Studio Team Explorer

痞子三分冷 提交于 2019-12-01 13:58:50
问题 I recently had an issue where I had to disregard my last commit, so on the command line I did following: git push origin --force this works fine, however I normally make my push/pulls from inside Visual Studio Team Explorer, however I could not find out how to --force a push from there Is it possible or can it only be done from command line? 回答1: You can enable --force without using command prompt in visual studio 2017 as follows Open team explorer. Team Explorer>Settings>Git>Global Settings

How to exclude certain folders from Visual Studio 2012 detected changes list?

非 Y 不嫁゛ 提交于 2019-12-01 03:21:34
In Visual Studio 2012 / Team Explorer / Pending Changes there is a link to list of files with detected changes inside the solution. How can I make Visual Studio NOT to detect pending changes in _ReSharper.* and Packages folders? Smeffie You can manually add a .tfignore file to your solution to ignore specific files, extensions or folders. The items defined in that file will not be considered as a change. If you click on the 'detected changes' you can also ignore items from within Visual studio (by right-clicking a selected item). In case of resharper you can choose to put the cache files in

Enforce custom stylecop rules for a checkin policy on TFS

帅比萌擦擦* 提交于 2019-12-01 00:00:42
I have installed StyleCop CheckIn policy (from here ) and it works great. However I have written some custom rules which I want to be enforced as part of the CheckIn policy (Visual Studio 2008, Team Explorer 2008, TFS 2005). The custom rules appear fine in the settings file when I right click on a project and click "StyleCop Settings". However when I add my CheckIn policy, and try to import the same settings.StyleCop file my Custom Rules don't appear in the editor window. Another problem, probably related, is that my custom rules appear in the StyleCop settings editor when I open the editor

Visual Studio Team Explorer - View Git Commands

半城伤御伤魂 提交于 2019-11-30 20:54:19
New versions of Visual Studio Team Explorer has built in support for Git. I want to know if there is an option to view the Git commands executed while using the Team explorer for Git actions like Commit and Push. Also would be better to have an option to view the other commands executed by Team Explorer like fetching status. Are those features available with the current Visual Studio? Edit: VisualStudio no more use libgit2sharp but use pure git commands but that changes nothing to the fact that you can't see the commands run. No, there is no option to do that. And that seems quite impossible

Can Visual Studio 2010 Express connect to Team Foundation Server 2010?

£可爱£侵袭症+ 提交于 2019-11-30 17:28:55
I know VS 2010 Pro/Premium/Ultimate include TFS connectivity, does VS 2010 Express? Oded No it doesn't. See this SO question (What is “missing” in the Visual Studio Express Editions?) - one of the bullet points is no Team Explorer support , meaning to TFS integration. On this Microsoft page for VS 2010, you can see the the Pro edition with MSDN essentials subscription has none of the TFS features out of the box, suggesting that this is also the case for the express SKUs. I'm not sure if you can install this http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=329 Though i don't

How to Move a Tracked File to Untracked using Visual Studio Tools for Git

最后都变了- 提交于 2019-11-30 14:11:06
Started experimenting with git. Inadvertently added all the files in the project to "Included Changes" in Team Explorer. I committed all in an initial commit. One of those files was the SQL CE 4.0 (file-based) database. I clearly goofed there. I do not want to track the database nor do I want to end up restoring the db back to some previous point. My problem is I have no idea of how to move the SQL CE 4.0 sdf file from included changes to untracked. I am not experienced with git and all I know to date is what is afforded to me in the Team Explorer UI. So, how do I move a file from (committed

how to open Team Explorer in Visual Studio 2008

旧时模样 提交于 2019-11-30 04:51:11
I have VS2008 Professional Edition with SP1 installed on my machine. Currently we use Visual Source Safe for version controller but we want to change it with Team Foundation Server 2010/2012 . So i need to connect TFS with VS2008. I read some post on the net and they say there is Team Explorer on Tools/Connect to Team Foundation Server to connect to TFS. This should already be installed with VS2008 SP1 but i dont see anything about Team Explorer in my VS2008 menus. How can i open Team Explorer in my VS2008 to connect to TFS that we are planning to install? Or how can i verify that Team