Я использую терминал для Mac и запускаю линию
git push origin master
Каждый раз, когда у меня запрашивается имя пользователя и пароль для github.com,
есть ли способ, чтобы он автоматически использовал мойучетные данные?
Я получаю сообщение об ошибке
error: The requested URL returned error: 403 while accessing
https://github.com/atheycreek/churchdeploy.git/info/refs
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = https://github.com/atheycreek/churchdeploy.git
Поэтому я изменил ее на
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git:github.com/atheycreek/churchdeploy.git
, теперь я получаю ..
kirkstrobeck:churchdeploy kirkstrobeck$ git push origin master
ssh: Could not resolve hostname git: nodename nor servname provided, or not known
fatal: The remote end hung up unexpectedly
Я изменил его на
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com/atheycreek/churchdeploy.git
и теперь я получаю ..
kirkstrobeck:churchdeploy kirkstrobeck$ git push origin master
fatal: 'git@github.com/atheycreek/churchdeploy.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly