Chinaunix首页 | 论坛 | 博客
  • 博客访问: 220193
  • 博文数量: 96
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 0
  • 用 户 组: 普通用户
  • 注册时间: 2016-07-14 11:43
文章分类

全部博文(96)

文章存档

2016年(41)

2015年(55)

我的朋友

分类: LINUX

2015-11-27 18:10:37

1. 提交流程
    git branch mytest
    git checkout mytest
    git add [file]
    git commit -m "command"
    git pull
    git push origin mytest :  本地分支直接提交到远程
                                              相对应的文件夹自动提交

2. git 删除文件

    git rm [file]
    git commit 
    git pull
    git push

3. push commit 区别

git commit是将本地修改过的文件提交到本地库中。
git push是将本地库中的最新信息发送给远程库。






阅读(1220) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~