Git Bash: remote error: You can ' t push to Git://github. com/
Proszę, pomóż mi, Jak mogę naprawić ten błąd ?
$git push origin dev
fatal: remote error:
You can't push to git://github.com//name_of_repo.git
Use https:://github.com//name_of_repo.git
24
Author: AmericanUmlaut, 2017-03-11
3 answers
Użyj adresu URL HTTPS lub SSH. Zamiast git://github.com/user/repo.git
Użyj jednego z nich:
https://github.com/user/repo.git
[email protected]:user/repo.git
Możesz to zmienić w swoim klonie Tak:
git remote set-url origin <THE-URL-HERE>
45
Author: ThiefMaster,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2017-03-11 13:55:03
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2017-03-11 13:55:03
Miałem ten sam błąd, i to zadziałało dla mnie, który znalazłem tutaj: https://coderwall.com/p/7begkw/fatal-remote-error-you-can-t-push-to-git
git remote rm origin
git remote add origin [email protected]:user/repo.git
git push origin master
12
Author: Gabi,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2017-11-11 15:30:12
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2017-11-11 15:30:12
Komunikat o błędzie z github jest dość mylący. Sugeruje użycie https: / / nawet wtedy, gdy użytkownik może znacznie łatwiej uwierzytelnić za pomocą kluczy ssh. (Miejmy nadzieję, że lepsza) alternatywa z ssh wygląda tak:
git remote set-url origin ssh://[email protected]/user/repo.git
4
Author: Jürgen Weigert,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2019-04-26 17:06:58
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2019-04-26 17:06:58