下载 GitHub 上的库
1、从 GitHub 上克隆
- git clone <远端地址> <项目的目录名>
- <项目的目录名> : 指为克隆的项目在本地新建的一个目录名,可以不填,如果不填,默认就是使用 github 仓库名
- 例子
- git clone https://github.com/*****/*.git
2、修改文件后重新上传
- git push origin master
- 遇到问题:
问题1:
fatal: 'origin' does not appear to be a git repository
fatal: could not read from remote repository
please make sure you have the correct access rights and the repository exists
解决方案: