首页 > 技术文章 > 如何下载Github的工程到本地,完成修改并提交

jason-beijing 2018-06-05 18:23 原文

2019-02-22 对以下方法做了测试 可以生效

 

1 在Github上添加密钥

方法是:https://www.cnblogs.com/jason-beijing/p/9110187.html

 

2 拷贝github上库的链接 (注意要用SSH的)

3 clone 

git clone {上部存下的git clone 地址} {本地文件夹}

 

4  常规操作举例

git pull
git commit -m {comment}
git push
git status

 

注意 第3步和第4步,都只能用GitBash, 而tortoiseGit不好用

推荐阅读