Can't push to git via Android studio? -


i cloned repository github via android studio. made changes code, committed & pushed without problem. today, made changes code. committed them when tried push them says

can't push, because no remotes defined

enter image description here help..

apparently there's no way ide, bug must have deleted remote. if open config file in .git directory within project folder, goto bottom , insert:

[remote "origin"] url = https://github.com/yourprofile/yourrepo.git 

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -