Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Using Github as main R...
Finance forum
Suggested answer

Using Github as main Repository

Posted on by 922
Hi,
One of my clients is asking to shift from AzureDevOps to Github as they use it for other development. I have not used Github for D365FO before.
Kindly help me configure it and the best practices I have to follow to achieve this.
 
Thanks
  • Suggested answer
    Kevin Xia Profile Picture
    Kevin Xia Microsoft Employee on at
    Using Github as main Repository
    Hi,
    If you are confused about how to build a git repository, you can go to the corresponding github official website to view, which has a detailed tutorial step-by-step.

    Create a GitHub Repository:

    • Create a new repository on GitHub to host your D365FO project.
    • Initialize it with a README or clone an existing repository if you already have one.

    Migrate Source Code:

    • Copy the source code from your Azure DevOps repository to the GitHub repository.
    • Ensure that all customizations, models, and other relevant files are included.

    Update Build Definitions:

    • Modify your build definitions to point to the new GitHub repository.
    • Adjust build steps and configurations as needed for GitHub.

    Update Service Connections:

    • If you're using any service connections in Azure DevOps, update them to work with GitHub.

    Configure Branch Policies:

    • Set up branch policies in GitHub to enforce code review, branch protection, and other necessary policies.

    Collaboration and Pull Requests:

    • Leverage GitHub's pull request features for code reviews and collaboration.
    • Encourage developers to create feature branches and submit pull requests.

    CI/CD Integration:

    • Integrate GitHub Actions or your preferred CI/CD tool for D365FO deployments.
    • Ensure that your deployment pipelines are configured correctly.
    Best regards,
    Kevin
  • Martin Dráb Profile Picture
    Martin Dráb 228,137 Most Valuable Professional on at
    Using Github as main Repository
    Could you specify the topic a bit closer? Are you struggling with version control, automated builds (GitHib actions) or what?
    If it's about source control, resources about git will help you even if they talk about a git repo hosted somewhere else than in GitHub, because it's still git.
  • Khurshid Wali Profile Picture
    Khurshid Wali 922 on at
    Using Github as main Repository
    Hi Komi Siabi,
    Thank you for replying. 
     
    I mean the GitHub platform not the DevOps Git.
  • Suggested answer
    Komi Siabi Profile Picture
    Komi Siabi 12,431 Most Valuable Professional on at

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,277 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,137 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans