Background
- macOS 10.12
- SourceTree 3
- GitHub
- Bitbucket
- Django Project
What I have Done
- Filenames are changed for privacy reasons
- I wanted to push a previously committed version to GitHub than to Bitbucket
- This worked for a long while but since this new sticking out baranch this doesent woks and I get this error message (this sticking out RED branch can and should be deleted)
- I have rebased before to the commit just before that sticking out branch by
git reset --hard COMITIDNAME
Pop up ERROR message
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags --set-upstream origin refs/heads/HEAD:refs/heads/HEAD
Pushing to https://github.com/myusernameongithub/myprojectnameongithub.git
error: src refspec refs/heads/HEAD does not match any.
error: failed to push some refs to 'https://github.com/myusernameongithub/myprojectnameongithub.git'
Completed with errors, see above
Goal
- I want to keep only 1 tag and move forward with that, use that in the future to upload in the future to both GitHub and Bitbucket (or if needed because of the 2 git storage places that minimum amount of more tags)
- Being able to upload my gits to Github and Bitbucket
What I have tried/looked up