Simple operation introduction of igftool

Time: 2020-08-19Source: Huajun Software TutorialAuthor: Aotuman

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.)

1.png

2.png

We found that there is an additional record file in the folder

3.png

Enter git status in the console

4.png

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.

5.png
6.png

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.

7.png

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

8.png

At this time, enter git add AA.docx in the console and press Enter, enter git commit -m "the second version" and press Enter

9.png

The above explains the simple operation of igftool. I hope friends in need can learn it.

Related articles更多>>

Popular recommendations