还不会使用igftool?其实操作特别简单,这里笔者就为大伙分享了igftool的使用操作内容,希望可以帮助到有需要的朋友。
第一步:直接在控制台输入 cd F:/1727229 ,切换到test目录下后输入git init ,然后你去打开这个test目录,你会发现多了个.git 文件(这是个隐藏文件,有的电脑是看不见的,是因为电脑设置了隐藏文件不可见。需要去设置一下才可以看见隐藏文件。具体设置可以问某度。)

我们发现在文件夹里多了一个记录文件

在控制台输入 git status

我们发现红色的就是可以修改的说明文件进行了修改但是没有提交修改日志到.git (本地仓库)文件中。我们再输入git add AA.docx 回车,接着git status ,发现AA.docx变成绿色。
注意:我们发现文件名字没有中文所以我们在创建时候建议使用英文方便一点


我们就将文本提交到了修改日志
接着输入 git commit -m"the first version"回车,接着git status,提示说没有文件需要提交,工作区很干净。

实现分布式版本控制系统过程是这样的:工作区——>暂存区——>本地仓库。(只有被提交到本地仓库的文件才能查看项目每个版本的信息)
git status是用来查看当前工作状态,假如有文件为红色,说明文件修改了,此时在工作区。git add AA.docx 之后文件在暂存区,git commit -m"the first version"之后文件在本地仓库并备注此版本是第一版本。
如果我们需要更新版本的话。
直接打开AA.docx 修改内容并保存

此时在控制台输入git add AA.docx并回车,输入git commit -m"the second version"并回车

上文就讲解了igftool的简单使用操作操作内容,希望有需要的朋友都来学习哦。