When I try to push using TortoiseGit to Bitbucket for initial source code, I got error:
Remote name must not be empty.
I've used TortoiseGit a lot of time and never got any problem with this error even though I never input any remote name. It happens only when I try to push. I could commit just fine.
How to solve this?
I solved it myself! I didn't follow the tutorial thoroughly.
Since this is a new repository, I have to add origin
remote name first. If you use command line, this will do:
git remote add origin https://[email protected]/yourteam/yourrepo.git
If you want to do it in TortoiseGit, do this instead:
origin
with URL https://[email protected]/yourteam/yourrepo.git
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With