I have my app on local computer and on production server. I am able to push from command line. But I can't on Atom as I get no remote. I can commit but I'm unable to push or pull.
For some previous project I was able to do it, Atom was recognizing the git remote without me doing anything.
What is the reason? How can i add the git remote to Atom?
check if the remote is set in the .git/config
file. Usually you have something like this:
[remote "origin"]
url = https://...
If you got no remote on the config file, add it with the following commands:
git remote add origin https://github.com/nicoboni/italy-winemap.git
git push -u origin master
restart Atom and you should be able to push changes to remote
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.