locked
Creating a new project in TFS online RRS feed

  • Question

  • Hello,

    We've got a repository on TFS. I would like to create a new project online. How do I do that?

    I know I can create a new repository online, but I don't know if that's the same as creating a new project. If possible, I'd prefer to create a new project in the same repository I'm currently using:



    I don't want to create a new project in Visual Studio. I know this is the standard way of doing it--you create a new project in Visual Studio and get it to create a new repository in TFS--but in my case, I have an existing project connected to a GIT repository in BitBucket. I want to transfer the entire commit history and all changesets using the method described in this site here:

    http://blog.simontimms.com/2013/04/02/importing-a-git-repository-into-tfs/

    For that, I'll need to create a new project in TFS online, not Visual Studio, and then do the transfer. After that's done, then I will connect my existing project (on my local machine) to the online TFS project.

    Can someone please explain to me how to create a new project on TFS online? Thanks.
    Wednesday, November 15, 2017 8:00 PM

All replies

  • Hi,

    VSTS team projects contain Git repositories, work items, builds, and releases.

    If you want to import a Git repo to an existing team project, please follow the link below:

    https://docs.microsoft.com/en-us/vsts/git/import-git-repository

    If you want to create a new repo in an existing team project, please follow the line below:

    https://docs.microsoft.com/en-us/vsts/git/create-new-repo

    If you want to create a new team project in VSTS, please follow the link below and choose Git version control during creating team project:

    https://docs.microsoft.com/en-us/vsts/accounts/create-team-project?tabs=vsts

    Best regards,


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Thursday, November 16, 2017 6:05 AM
  • Thanks for the response Xinxin,

    A couple questions before I follow the links:

    1) Why must I choose a GIT repository when creating a new team project. I experimenting with creating a new repository in my account and I was forced to select GIT from a disabled drop down:

    As you can see, I now have two repositories. The original one is called "RiskAlive" which doesn't seem to be a GIT repository, and the experimental one is called "Angular" which is a GIT repository. <-- This latter one is the one I'm talking about (where I was forced to make it GIT). If the RiskAlive repository is not GIT, what is it? And why am I not able to create new repositories other than GIT?

    2) What's the difference between TFS and VSTS? Am I speaking incorrectly when I call our RiskAlive repository TFS?

    Thanks.

    Thursday, November 16, 2017 3:35 PM
  • Hi Gibran,

    Sorry for late response.

    You don't have to choose a GIT repository when creating a new team project. VSTS/TFS supports two types of version control: Git and Team Foundation Version Control (TFVC). When you create a new team project, you can choose one of them. Check: https://docs.microsoft.com/en-us/vsts/tfvc/comparison-git-tfvc

    If the RiskAlive repository is not GIT, what is it?

    >>It's a TFVC team project.

    And why am I not able to create new repositories other than GIT?

    >>You can only choose one type of version control when you create a new team project. But you can use Git and TFVC repos in the same team project (add Git repos to a Team Foundation Version Control team project or add a Team Foundation Version Control repo to a Git team project). Since RiskAlive is TFVC team proejct, you can only add Git repo in it.

    What's the difference between TFS and VSTS?

    >>Check https://docs.microsoft.com/en-us/vsts/user-guide/about-vsts-tfs

    Best regards,


    MSDN Community Support Please remember to click &amp;quot;Mark as Answer&amp;quot; the responses that resolved your issue, and to click &amp;quot;Unmark as Answer&amp;quot; if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com


    Monday, November 20, 2017 8:44 AM
  • Hi Gibran,

    Is my last reply helpful?

    Best regards,


    MSDN Community Support Please remember to click &amp;quot;Mark as Answer&amp;quot; the responses that resolved your issue, and to click &amp;quot;Unmark as Answer&amp;quot; if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Wednesday, November 29, 2017 8:14 AM