简体   繁体   中英

Unable to push from local Desktop to github

Unable to push error fatal: unable to access 'https://github.com/user/repository.git/': Could not resolve host: github.com I have No problem in cloning, and also no problem in pushing from one of my repository. How can I smoothly push from all my repository.

As I mentioned before , in that specific repository, do a git remote -v to check what remote URL you are using.

And you can compare that URL with the one used in another local repository from which you can push.
That way, you can infer why this particular repository cannot push.

The OP pradeep adds in the comments :

I could push successfully after uninstalling Git and then reinstalling it.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM