Sync a fork branch with its upstream
One step with Harness. We can help you get access.
Get something done
Sync a fork branch with its upstream
with Harness
Works with AI assistants
Use Harness: its Harness Repository API lets you sync a fork branch with its upstream in a single step (POST /code/api/v1/repos/{repo_identifier}/fork-sync). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I pull upstream changes into my forked repository?
- Can I bring a fork's branch up to date with the parent repo's branch?
Say it to your AI assistant
- Sync branch {branch} of fork {repo} with upstream {upstream}.
- Update my fork {repo} branch {branch} from its upstream.
For your developer
POST /code/api/v1/repos/{repo_identifier}/fork-sync in Harness Repository API. Full spec on APIs.io.