Git

2018-02-03  本文已影响0人  JSL_FS

参考 我大哥 廖雪峰的 Git教程

将github项目克隆到本地

$ git clone https://github.com/8bulbs/learn_git.git

添加文件file到仓库

$ git add fileName

添加所有文件到仓库

$ git add .

将文件提交到仓库

$ git commit -m "your msg"

将本地修改推送到github

$ git push

Successfully created project 'wechat_dev' on GitHub, but initial push failed: Could not read from remote repository.
解决:
Settring -> VersionControl ->GitHub中去掉:“Clone git repositories using ssh”

git clone fatal: unable to access resolution:modify https => git

20180227205107.png
上一篇 下一篇

猜你喜欢

热点阅读