Git 经常使用终端命令

git init git 初始化一个Git仓库:把某个目录变成Git能够管理的仓库app git add test.h测试 把文件test.h添加到仓库fetch git commit -m "添加了test.h文件"日志 把文件提交到仓库。(git commit命令,-m后面输入的是本次提交的说明)rem git statusit 查看工做区的状态io git diff test.hast 查看
相关文章
相关标签/搜索