When I type git status I see:
T /path/to/file...
M /path/to/otherfile...
What exactly does the T git status mean?
I tried man git-status (I think it should be there, but isn’t).
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It means that the type of a file changed. For example, a symbolic link that became a regular file.
As far as I know, this only applies to symlinks, submodules and regular files
Edit
A source was requested for this information. While this is simply information that’s in my head, I was able to find a few references to it on the internet. The most prominent one was a git changelog mentioning “T” as a type change and “D” as a deletion.
Edit 2 (updating this because it’s my highest rating answer so far)
As pointed out by @PhilipOakley,
man git-diff-filesactually does show this information.As pointed out by @Mat, it’s also in
diff.h, line 289:And in
wt-status.c, line 282: