I started work before cloning or pulling and this is the result
The problem is I have two branches with the same name "master" one of them on the local side and one on the git remote.
How can I solve this?
I started work before cloning or pulling and this is the result
The problem is I have two branches with the same name "master" one of them on the local side and one on the git remote.
How can I solve this?
If you don't have anything important on the remote repository you could force push your local history git push --force origin master
. Note that other people should then clone again the repository to avoid history conflicts.