Answer the question
In order to leave comments, you need to log in
What should I do if I cloned a project not from a fork?
I cloned the project not from my fork, but from the main repository. Now I can't push.
What to do in such cases? Is it possible to switch to it after creating a fork, or do I need to clone the project from the fork again?
Is it possible to push into your own fork by leaning not from a fork?
Answer the question
In order to leave comments, you need to log in
In short, just change the server from the main server to your fork in the git config.
...not sure if it would work
Create a fork, then
git remote add my https://...
git pull my master
git push --set-upstream my master
What to do in such cases?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question