Merge changes from another fork branch into the current branch
/plugin marketplace add mcfearsome/fork-yeah/plugin install fork-yeah@mcfearsome cc-marketplaceMerges changes from another fork branch into your current branch, allowing you to combine work from different forks.
/fork merge <source-fork-id>
{source-fork-id} (required): The ID of the fork to merge fromTo execute this command, run:
bash src/fork_merge.sh {source-fork-id}
Merge fork-2 into current branch:
/fork merge fork-1730678901-abc123-2
Important checks:
/fork status)Successful merge:
Current branch: fork-1730678901-abc123-1
Merging from: fork-1730678901-abc123-2
Merge completed successfully!
Merge summary:
README.md | 10 +++++++---
src/feature.py | 45 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 52 insertions(+), 3 deletions(-)
Merge with conflicts:
Current branch: fork-1730678901-abc123-1
Merging from: fork-1730678901-abc123-2
Merge failed - conflicts detected
Resolve conflicts and commit the merge manually
Commands:
git status - See conflicted files
git add <file> - Mark conflicts as resolved
git commit - Complete the merge
git merge --abort - Cancel the merge
If conflicts occur:
Review conflicts:
git status
Edit conflicted files - Look for conflict markers:
<<<<<<< HEAD
Your changes
=======
Their changes
>>>>>>> fork-1730678901-abc123-2
Resolve and stage:
git add <resolved-file>
Complete merge:
git commit
Or abort:
git merge --abort