码迷,mamicode.com
首页 > 其他好文 > 详细

Git中将git add 与 git commit合并

时间:2017-03-16 22:52:38      阅读:256      评论:0      收藏:0      [点我收藏+]

标签:git   add   

修改hello.php文件

vim hello.php
<?php
        echo "hello world!";
?>

查看hello.php文件

cat hello.php

查看项目文件状态

git status -s

add与commit合并操作

git commit -am "合并提交"

命令行输出

技术分享

本文出自 “素颜” 博客,请务必保留此出处http://suyanzhu.blog.51cto.com/8050189/1907140

Git中将git add 与 git commit合并

标签:git   add   

原文地址:http://suyanzhu.blog.51cto.com/8050189/1907140

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!