Don’t know how to use igftool yet? In fact, the operation is very simple. Here I will share the operation content of igftool with everyone, hoping to help friends in need.
Step 1: Enter cd F:/1727229 directly on the console, switch to the test directory and enter git init, then open the test directory, you will find an additional .git file (this is a hidden file, some The computer is invisible because the computer has set the hidden files to be invisible. You need to set it up before you can see the hidden files.)
We found that there is an additional record file in the folder
Enter git status in the console
We found that the red one means that the modifyable description file has been modified but the modification log has not been submitted to the .git (local warehouse) file. We then type git add AA.docx and press Enter, then git status, and find that AA.docx turns green.
Note: We found that the file name does not have Chinese characters, so we recommend using English for convenience when creating it.
We submitted the text to the change log
Then enter git commit -m "the first version" and press Enter, then git status. It prompts that there are no files to submit and the workspace is very clean.
The process of implementing a distributed version control system is as follows: workspace -> staging area -> local warehouse. (Only files submitted to the local warehouse can view the information of each version of the project)
git status is used to check the current working status. If a file is red, it means that the file has been modified and is in the workspace. After git add AA.docx, the file is in the staging area. After git commit -m "the first version", the file is in the local warehouse and a note is made that this version is the first version.
If we need an updated version.
Open AA.docx directly, modify the content and save it
At this time, enter git add AA.docx in the console and press Enter, enter git commit -m "the second version" and press Enter
The above explains the simple operation of igftool. I hope friends in need can learn it.