Short Form Status in Git
File status messages can seem a bit verbose. Therefore, it is possible to output the status in a short form. In this form, the file status will be shown with the corresponding letter before the file name:
| Status | Description |
|---|---|
| no letter | unmodified |
M |
modified |
T |
file type changed |
A |
added |
D |
deleted |
R |
renamed |
C |
copied |
U |
updated but unmerged |
To display the status in short form, you need to use the following command:
terminalgit status -short
Or its short form:
terminalgit status -s
Задание 1
View the status in short form.
Задание 2
What is the state of the file if it was given:
textM text.txt
Задание 3
What is the state of the file if it was given:
textA text.txt
Задание 4
What is the state of the file if it was given:
textD text.txt
Задание 5
What is the state of the file if it was given:
textR text.txt
Задание 6
What is the state of the file if it was given:
textC text.txt
Задание 7
What states are the files in if the following was issued for them:
textA text1.txt
text2.txt
D text3.txt
M text4.txt