I cloned a Repository from Github via Android Studio. I made some changes to the code, then committed & pushed without a problem. Today, I made some changes to the code. I committed them but when I tried to push them it says
Can't push, because no remotes are defined
Thanks for your help..
Apparently there's no way to do it from the IDE, some bug must have deleted your remote. If you open up the config file in your .git directory within your project folder, goto the bottom and insert:
[remote "origin"]
url = https://github.com/YOURPROFILE/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