Chinaunix首页 | 论坛 | 博客
  • 博客访问: 24355
  • 博文数量: 9
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 35
  • 用 户 组: 普通用户
  • 注册时间: 2012-09-06 22:40
文章分类

全部博文(9)

文章存档

2014年(9)

我的朋友

分类: 项目管理

2014-03-22 22:01:02

原文地址:git 向服务器中提交代码 作者:T-Bagwell

首先将修改后的代码commit一下,然后再提交到服务器上面去

  1. [root@localhost P5905]# git commit -a

这里会进入到之前git设置的编辑器里面,然后就可以编辑了,保存退出以后出现下面信息

  1. [master 5c66c60] To support two camera choose support to ov7690 on P5905 7050 version
  2. 2 files changed, 15 insertions(+), 0 deletions(-)
确认一下commit进去以后的信息
  1. [root@localhost P5905]#
  2. [root@localhost P5905]# git log
  3. commit 5c66c608e059733c6fe03dc9dff9202cc9d243d2
  4. Author: LiuQi
  5. Date: Wed Mar 9 14:22:38 2011 +0800
  6. To support two camera choose
  7. support to ov7690 on P5905 7050 version
  8. 没有问题,可以push到服务器上面去了
  9. [root@localhost P5905]#
  10. [root@localhost P5905]# git push
  11. root@192.168.1.127's password:
  12. Counting objects: 27, done.
  13. Delta compression using up to 2 threads.
  14. Compressing objects: 100% (13/13), done.
  15. Writing objects: 100% (14/14), 1.13 KiB, done.
  16. Total 14 (delta 12), reused 0 (delta 0)
  17. To root@192.168.1.127:/root/zk/5905_7050/P5905
  18. 26eb589..5c66c60 master -> master
  19. [root@localhost P5905]#
  20. [root@localhost P5905]#
阅读(1062) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~