AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
DAX
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 17.04.2020, 13:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
dynamicsnavax: Dynamics eCommerce source control development strategy
Источник: http://dynamicsnavax.blogspot.com/20...e-control.html
==============

Recently, Microsoft released their eCommerce solution. I got started by looking at how to do a bit of development locally. The guide is here https://docs.microsoft.com/en-us/dynamics365/commerce/e-commerce-extensibility/setup-dev-environment
One of the first steps to development is to clone Microsoft github repo. That's fairly easy to do.
But, the next question I had was, “how do I do my development in my own private version control and continue to pull Microsoft's latest releases?”. I don't want to manually merge folders and deal with painful files.
I am not an expert in git and still have a lot to learn. However, below is the approach we have taken and will test out over the coming weeks to see how it works for us.


Go to Azure DevOps (my choice of version control) and Import the repository.
Click on Import repository.

Give it the github URL and name.

After a minute it should show an Import Successful message.





Using git bash, clone your Azure DevOps repo by the following commands. I used a clean folder called gitRetail.
cd “c:/gitRetail”
git clone git clonehttps://MyProject@dev.azure.com/MyPr...ommerce.Online

Then you can add a remote connection to the original github by the following command.
cd “c:/gitRetail/ Msdyn365.Commerce.Online”
git remote add Microsoft https://github.com/microsoft/Msdyn36...rce.Online.git


Now you can fetch/merge or pull from the Microsoft master branch.
By doing a git fetch
E.g.
git fetch Microsoft master
git pull Microsoft master
git remote
Below are some screenshots.


Useful links:

https://docs.microsoft.com/en-us/azure/devops/repos/git/import-git-repository?view=azure-devops

https://www.atlassian.com/git/tutori...ncing/git-pull
Thanks to my colleague and friend Pontus for helping out and always giving advice on git.




Источник: http://dynamicsnavax.blogspot.com/20...e-control.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Navigate Into Success: Automating control add-in development using gulp Blog bot NAV: Blogs 0 17.01.2019 22:12
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 16 Blog bot Dynamics CRM: Blogs 0 23.01.2014 03:15
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 14 Blog bot Dynamics CRM: Blogs 0 12.07.2013 07:13
Dynamics NAV Source control: iFacto ReVision has been launched! Blog bot Dynamics CRM: Blogs 0 14.09.2011 19:09
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 20:49.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.