git push到 github中出现的问题

git push到 github中出现的问题

Git Bash需要下载


git push到 github中出现的问题


之后用户主目录下出现了.SSH,再之后按照说明粘贴key,创建repository。

——————————————————

把本地仓库对接到远程仓库

git push到 github中出现的问题

出现了错误,fatal: Not a git repository (or any of the parent directories): .git 此时本次文件夹.git 里的config是这样的

git push到 github中出现的问题git push到 github中出现的问题

无法pushgit push到 github中出现的问题git push到 github中出现的问题

↑这一步添加了user.name 和 user.email

解决方法:set-url

git push到 github中出现的问题git push到 github中出现的问题

最后config里是这样的↑