tfvc

Check-in each project separately?

别说谁变了你拦得住时间么 提交于 2019-11-28 05:38:31
问题 I have several projects hosted as separate TFS projects. When I want to check-in changes, all the changes of all projects sum up together and commit as one check-in. I want to handle the check-ins per project, so that the current check-in only commits the files of the current solution. Here is what the TFS Pending Changes page looks like: The red is "Project 1", the black is "Project 2", I don't want the black to be here at all. 回答1: There are several options: You can create separate

Remove intermediate commit in Visual Studio Online

感情迁移 提交于 2019-11-28 05:29:50
问题 I edited my README.md multiple times because I didn't see the preview button. Now my commit history is full of useless commits. Can I remove some of them, or at least hide them ? 回答1: CAUTION History rewriting can get your source control system in a pretty messed up state. Make sure you have a good backup of your sources in case anything goes wrong. Git Depending on your Team Project setup, the Readme.md is stored in a Git repository you can absolutely rewrite history and force push the

What's the difference between git-tf and git-tfs?

风流意气都作罢 提交于 2019-11-28 03:31:59
I've recently been getting really fed up with TFS. I've heard that there is a light at the end of the tunnel though. Apparently I can use either git-tf or git-tfs and treat my code as if it was managed by git, but be able to push/pull to/from a central TFS server. My main question is I'm not sure which one of these I should use. There is git-tf which is officially supported by Microsoft, and there is git-tfs which has been around a lot longer. What's the differences between these and which should I try out first? Disclaimer: I started the git-tf project and although the project is now in very

TFS: How can you Undo Checkout of Unmodified files in a batch file

谁说胖子不能爱 提交于 2019-11-28 02:35:19
We use a batch file to generate code, and it automatically checks out the generated files from Team Foundation Server (TFS) so that it can regenerate them. The majority of these files are not modified, but the generator does not know this ahead of time. The "tfs undo" command undoes the checkout, but prompts if some have been modified (which we don't want to do). We also do not want to check in the generated files right away. Is there a command (or series of commands) to undo checkout of all unmodified files without prompting the user? Mike Chaliy Take a look on Undo Unchanged command of the

Add existing Android Studio project to VSTS

空扰寡人 提交于 2019-11-28 01:43:32
问题 I have an existing Android project developed in Android Studio using Kotlin. It's not yet under version control. I'd like to add it to Visual Studio Team Services in a new classic TFVC project, not a Git project. Can anyone explain how to do this, or point me to a tutorial? I have installed the Team Services plugin and configured the TF executable, but now I'm going around in circles trying to associate my project with a new or existing TFVC project. I see an option to import into a Git TFS

Moving files lose history in TFS 2013

 ̄綄美尐妖づ 提交于 2019-11-27 22:14:51
I'm using VS2013 Update 4 with TFS 2013 Update 4. In Source Control Explorer, whenever I move a file from one folder to another I can see that the file's history is preserved in the new location. However, that history is gone when I check-in the pending changes. The same thing happens when I try to run "tf move" command. So, how can you move a file in TFS and still keep the file's history? When a file is renamed correctly, the History is not "Gone", it's associated to the "old name" instead. A rename that is done the right way (tracked as a rename and not as an delete+add) has a drilldown

VSCODE and TFVC how to connect?

只谈情不闲聊 提交于 2019-11-27 17:41:51
问题 How to connect TFVC (version control) to Visual Studio Code? Interested in basic operations such as checkin, checkout, resolve. 回答1: Microsoft recently released Visual Studio Team Services Extension for Visual Studio Code . The process of installing is pretty straight forward: Search for Visual Studio Team Services in VS Code and select to install the one by Microsoft Open File -> Preferences -> Settings Add the following lines to your user settings If you have VS 2015 installed on your

What are the big differences between TFVC (TFS Version Control) and Git for source control when using Visual Studio 2013?

我与影子孤独终老i 提交于 2019-11-27 16:47:05
There are tons of questions and answers about Git versus TFVC Source Control, but no current answers cover the integration of Git into Team Foundation Server/Service that I can find. I'm starting green pasture development using a wide variety of languages (C#, C++, PHP, Javascript, MySSQL) using Visual Studio 2013. In the future, there will be some iOS development. I'm very familiar with SVN, VSS and TFVC for source control. However, I have never used Git. I prefer TFS for process management/agile development... It's not perfect, but it integrates well into Visual Studio. So, to help me decide

Git vs Team Foundation Server [closed]

空扰寡人 提交于 2019-11-27 08:57:31
问题 I introduced Git to my dev team, and everyone hates it except me. They want to replace it with Team Foundation Server. I feel like this is a huge step backwards, although I am not very familiar with TFS. Can someone with experience compare branching support on TFS to Git branching? Also, in general, what are the pros and cons of TFS? Am I going to hate it after using Git for a few years? 回答1: I think, the statement everyone hates it except me makes any further discussion waste: when you keep

Connect TeamCity to Visual Studio Online

妖精的绣舞 提交于 2019-11-27 07:00:15
问题 I'm trying to migrate from on-premises TFS to Visual Studio Online. We have quite elaborate TeamCity build process that we don't want to migrate away from, so having TeamCity working with VSO would be ideal. I've created alternative user credentials (as per this article) and using these credentials in TeamCity. But when I create new VCS in TeamCity, I get connection error: TF30063: You are not authorized to access https://myproject.visualstudio.com/DefaultCollection/MyProject I've tried my