I'm a beginner. Thinking I was deleting unneeded remote branches, I unknowingly deleted all my remote branches. Now when I try to push changes no branches show up in the dialog and I cannot push anything. How can I fix this? I'm not working with a team.
I solved the problem by re-cloning from the bitbucket repository. That re-established the remote connection that I had mistakenly deleted.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.