We got code stored and worked on inside BitBucket. I am trying to sync that code over to a git repository inside VSTS Online by using a build pipeline. However, i can't figure out what build steps to use in order to pull the files from the BitBucket git and push them into the VSTS git.
My idea was something like this:
The "Get sources" fetches the files from the remote BitBucket repository and then the Command Line Script is meant to save them to the local VSTS git by first switching to the master branch and then pull from the remote git. I am however unsure what commands and/or job modules to use for this task.
The picture is from inside the local VSTS git repo under the Build and release tab.