Hey All, I'm trying to figure out if a workflow w...
# how-do-i
r
Hey All, I'm trying to figure out if a workflow with forked repos and graphite is possible: We've been using graphite in our company, and it works well when the dev branches are hosted in the main repo, however for some of our repos our development setup is based on forks: For example The main repo is in the company org: <company>/<repo> my fork is: ronsanzone/<repo> The graphite app / subscription is in the <company> org attached to the <company>/<repo> repo. I develop locally on my fork and then push the branch to my fork and open a pr against <company>/<repo> Currently when running through the gt demos, I get errors like this:
Copy code
gt submit
WARNING: You can only submit to repos synced with Graphite.
ERROR: Graphite could not verify you have access to the repo ronsanzone/<repo>.
This may be due to an issue with the inferred owner and name of your repository or an authentication problem.
You can check and override the inferred owner and name in `gt config` -> `Repository level settings` -> `Remote repository`. If there is an extra `/` in your repo name, try removing it.
If that does not solve your problem, check if you can see this repository in the Graphite web dashboard: <https://app.graphite.dev/settings> -- if it's missing, you may need to adjust your authentication settings.
See this page for more details: <https://graphite.dev/docs/other-authentication-methods>
Still not working? Don't hesitate to reach out on our Community Slack server at <https://community.graphite.dev>
Ideally, gt submit would push the branches to my repo "origin" remote and then open the pr against the main repo. Is this possible? I was able to at least get gt to push the branch to my repo and get past the "You can only submit to repos synced with Graphite" by overriding the "owner" in the Repository Level Settings but gt still fails to create the PR on submit with this error:
Copy code
gt submit
:pancakes: Validating that this Graphite stack is ready to submit...

:memo: Preparing to submit PRs for the following branches...
▸ 04-13-feat_test (Create)

:rocket: Pushing branches to remote...
Running git push: [========================================] 100% | Done

:incoming_envelope: Creating/updating PRs...
ERROR: Failed to submit PR for 04-13-feat_test:
GitHub could not open a PR with the specified head.
✅ 1
p
(If applicable) To help us more clearly understand what you're trying to do, please provide additional details about: - Screenshots / debug logs / list of commands you've tried to run so far - Your workflow - Current state
hey ron, can you run the following command in your CLI so i can take a look:
gt feedback --with-debug-context <message>