Git 基本操作(实用)

1. 拷贝github上的工程

    git  clone  https://github.com/CV-deeplearning/MobileNet-v2-SSD-caffe.git

2. 删除git上的文件

    把工程clone下来之后,进入工程所在的文件夹

     git  rm  file_name       

     git commit -m "delete"

     git push -u origin master

3. 修改git上的文件

      git  pull

      本地的修改工作。。。

      git add .

      git commit  -m  ''修改说明''

      git push -u origin master

参考:https://www.runoob.com/git/git-basic-operations.html

      

发布了10 篇原创文章 · 获赞 14 · 访问量 1317

猜你喜欢

转载自blog.csdn.net/Guo_Python/article/details/105586287
今日推荐