1、git上创建版本库

git+sourcetree创建仓库

 

2、安装sourcetree

3、创建空目录

    我本地空目录为D:/shenghuojia

4、打开sourcetree,点击clone/new ,选择clone repository选项卡,设置原路径为git版本库的url,设置目标路径为空目录名D:/shenghuojia,然后点击克隆

git+sourcetree创建仓库

5、完成克隆后,把需要提交的代码移到空目录D:/shenghuojia下,然后在sourcetree上全选所有文件,点击add to index

6、add完后,选中所有文件,点击commit,

7、commit完后,点击push推送。

 

相关文章:

  • 2021-09-02
  • 2021-05-18
  • 2021-09-06
  • 2021-12-27
  • 2021-08-03
猜你喜欢
  • 2021-07-19
  • 2021-12-16
  • 2021-08-04
  • 2021-04-25
  • 2021-12-13
相关资源
相似解决方案