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?
- 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.eftshift0– eftshift02024-01-18 13:44:30 +00:00Commented Jan 18, 2024 at 13:44
- 1An alternative is to use patches. Create a patch from some commit's diff in the first repo, then apply it on the other repo.Romain Valeri– Romain Valeri2024-01-18 13:47:33 +00:00Commented Jan 18, 2024 at 13:47
Add a comment |