"It is also good if you keep your YAML file in a separate repository from the application code and you want to trigger the pipeline every time an update is pushed to the application repository."
...I was actually looking at that! I still do not get how to checkout multiple resources and finally push to only one of them via GIT command line inside azure devops...may you help?
Thanks a lot for the good stuff
If I understand correctly, you want to checkout from multiple repos and then push the whole thing to a single one?
Let's say you have 3 repo. Adding the 3 checkout instructions, one per repo, you will end up having the "3 parts" of code in:
/s/repo1
/s/repo2
/s/repo3
so what you'd need to do is simply make sure you are in the /s folder, and then do the "git magic" from there.
or, even better, you can make sure you checkout the destination repo first, in let's say /s/destination folder
then, checkout the other 3 repos in the same folder and you are ready to do git add ., commit, and push
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
"It is also good if you keep your YAML file in a separate repository from the application code and you want to trigger the pipeline every time an update is pushed to the application repository."
...I was actually looking at that! I still do not get how to checkout multiple resources and finally push to only one of them via GIT command line inside azure devops...may you help?
Thanks a lot for the good stuff
Hey, thanks.
If I understand correctly, you want to checkout from multiple repos and then push the whole thing to a single one?
Let's say you have 3 repo. Adding the 3 checkout instructions, one per repo, you will end up having the "3 parts" of code in:
/s/repo1
/s/repo2
/s/repo3
so what you'd need to do is simply make sure you are in the
/s
folder, and then do the "git magic" from there.or, even better, you can make sure you checkout the destination repo first, in let's say /s/destination folder
then, checkout the other 3 repos in the same folder and you are ready to do
git add .
, commit, and push