To get a specific checked in changeset item in Azure Repos (Git) in Visual Studio Code, we use
git cherry-pick command. It can be a changeset belong to a different branch. There is
Merge Branch menu, but this will get and merge all the new changesets into our working branch.
By default when running
git cherry-pick command, it will automatically merge and check in the codes in the repository for us. Use
-n option to have the codes staged and we can check in manually.
Run in
Terminal window:
git cherry-pick -n [commithashcode]