git reset HEAD使用

修改demo1.txt文件 vim demo1.txt 修改hello.php vim hello.php 查看文件狀態 git status -s 添加到緩存區 git add . 查看文件狀態 git status -s 將hello.php從緩存區清除 git reset HEAD -- hello.php 查看文件狀態 git status -s 提交文件 git commit -m '修
相關文章
相關標籤/搜索