What to do if git has no file corner mark

06-15-2023

1. What is a file corner mark?

In the Windows system, a file corner mark (also known as a file mark) is a mechanism for identifying the status of a file. It can identify whether the file has been modified, whether it is opened, etc. In Windows Explorer, we can quickly understand the status of the file through the corner mark of the file.

Second, why does Git not have a file subscript?

Unlike the Windows system, Git is a version control system. It is mainly used to record version changes and modification history of files. Therefore, in Git, there is no concept of file subscripts.

Third, how to deal with the situation that there is no file corner mark in Git?

Although there is no file corner mark in Git, we can use other methods to understand the status of the file. Here are several commonly used methods:

  1. Use the Git command to view file status

In Git, you can use the git status command to view the current workspace file status. This command will list all uncommitted changes, new files and other information. By looking at this information, we can understand the status of each file.

  1. Use Git GUI tools to view file status

In addition to using the command line to view file status, we can also use Git GUI tools to Check the status of the file. The Git GUI tool can display the file status in a graphical way, which is more intuitive than the command line. Commonly used Git GUI tools include GitKraken, Git for Windows, etc.

  1. Use third-party tools to view file status

In addition to the tools that come with Git, there are many third-party tools that can help us View file status. Such as SourceTree, TortoiseGit, etc. These tools can not only display the file status, but also perform version control, submit modification and other operations.

Fourth, summary

Although there is no subscript for files in Git, we can understand the status of files in other ways. Whether using Git's own commands, graphical tools or third-party tools, it can help us better manage the code. For developers, mastering these skills is very necessary.

Copyright Description:No reproduction without permission。

Knowledge sharing community for developers。

Let more developers benefit from it。

Help developers share knowledge through the Internet。

Follow us