Git How do you force a normal branch after forking (not doing with pull request)


Strange requirement but in case you still need it..

Lets say you forked a repo and for some reason instead of creating a PR, you wanted to push that as a normal branch.

Please ensure you created a branch first and then check out

git branch mytarget 

git checkout mytarget

git push mynewBranch.git

Comments

Popular posts from this blog

vllm : Failed to infer device type

android studio kotlin source is null error

gemini cli getting file not defined error