随便写的,留给自己看。

一.在github上注册并建立自己的仓库
http://www.cnblogs.com/keZhenxu94/p/5288488.html

二.安装windows版本git界面工具

msysgit是Windows版的Git,从https://git-for-windows.github.io下载,然后按默认选项安装即可。

三.进入任一英文目录下,右键打开 Git Bush here

执行:

  $git clone 你的仓库地址

这样就把github上的仓库down到本地了(仓库地址在创建仓库的时候会有)

若此仓库是空的,新加入了文件的话,第一次提交需要

touch README
git add README 
git commit -m 'first commit'
git push origin master

然后输入你的用户名,密码即可提交。

相关文章:

  • 2021-12-27
  • 2021-08-06
  • 2022-12-23
  • 2021-11-28
  • 2021-11-15
  • 2021-11-16
  • 2022-12-23
  • 2021-04-04
猜你喜欢
  • 2022-02-09
  • 2022-02-06
  • 2021-07-19
  • 2021-08-15
  • 2021-11-08
  • 2021-12-27
相关资源
相似解决方案