web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Azure DevOps - TFVC or Git

(0) ShareShare
ReportReport
Posted on by 4,131

Hi,

I know it is recommended to use TFVC type project when we create Azure DevOps project, but what exactly the reason that we could not use Git?

Thanks,

I have the same question (0)
  • Blue Wang Profile Picture
    on at
    RE: Azure DevOps - TFVC or Git

    Hi Yuji,

    Microsoft does not support Azure Dev Ops (VSTS) automated builds for git repositories by default.

  • Yuji Profile Picture
    4,131 on at
    RE: Azure DevOps - TFVC or Git

    Is it easy to move the Azure DevOps project from Git to TFVC?

  • Sergei Minozhenko Profile Picture
    23,093 on at
    RE: Azure DevOps - TFVC or Git

    Hi Yuji,

    Here is answer about Git to TFVC migration stackoverflow.com/.../convert-git-repository-to-tfvc-version-control.

  • Verified answer
    Joris dG Profile Picture
    17,775 on at
    RE: Azure DevOps - TFVC or Git

    Although we don't officially support it, there are plenty of people using Git. I would say, if you are familiar with Git as well as understand the structure of the X++ source (packages/descriptors etc) and all that stuff you should be able to get this done. The problem is largely around swapping branches, and/or requiring maintaining a big gitignore file.

    You will need a TFVC repo (can be empty) to be able to _deploy_ a build VM, but the build VM can build from a Git repo just fine if the folder structure matches the TFVC folder (metadata/project subfolder).

    See msdyn365fo.wordpress.com/.../

    and www.atomicax.com/.../giting-started-git-d365fo-and-other-puns

  • Yuji Profile Picture
    4,131 on at
    RE: Azure DevOps - TFVC or Git

    Thanks Joris,

    One more question, the recommended folder structure (metadata/projects sub folder), we have to follow this otherwise the build activity doesn't work?

  • Verified answer
    Joris dG Profile Picture
    17,775 on at
    RE: Azure DevOps - TFVC or Git

    Correct. The build definition assumes you have your code in a /metadata/ folder and your projects in a /projects/ sub folder.

    You can certainly change the scripts on the build VM to remove this assumption, but every time you take an update you will have to redo that script change.

    We will have the new build system in preview and that will work however you want, so if you can live with it for now it will certainly become easier soon enough.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 747 Super User 2025 Season 2

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 743

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 528 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans