0

So, there are two repositories - let's call them A and B. In repo A, there are four branches: dev, qa, uat, and prod. Repo B has three branches: qa, uat, and prod. I need to cherry-pick a commit from repo A's dev branch to repo B's qa branch. Is there a way to accomplish this?

2
  • If you have a local repo that is a clone of one of them, add the other as a remote on that local repo and then do the cherry-pick. Commented Jan 18, 2024 at 13:44
  • 1
    An alternative is to use patches. Create a patch from some commit's diff in the first repo, then apply it on the other repo. Commented Jan 18, 2024 at 13:47

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.