Question: is there a way to delete remote branches without merging them in?
Background: We had a third party do some work for us they use GitHub and we do also
So I pulled from there repo and pushed to ours. Unfortunately, I pushed to the wrong repo. So now we have a project with this other project in it.
We do not really want to merge in all the changes and delete them and have the history remain. I would just like to delete this branch(push).
I have tried -git push origin --delete branchName (of course this will only work if its merged in.)
It looks like the only way to delete a nonmerged branch is with -D -git branch -D branchname (but this only works on the local repo)
is there a way to delete branches without merging them on a remote repository or any other way to clean this mess up? (one repo pushed to another no merge)