touch hello.php ls -a ls
git status -s
git add hello.php
git status
vim hello.php
//内容 <?php echo "hello"; ?>
git status -s
git diff
本文出自 “素颜” 博客,请务必保留此出处http://suyanzhu.blog.51cto.com/8050189/1907135
原文:http://suyanzhu.blog.51cto.com/8050189/1907135