Open liangkarl opened 2 years ago
What about 4. In the status view, press u
to unstage text.txt
?
Uh, tig would show the message, fail to update files.
This message is from the stage view, switch to the status view (s
).
Thanks.
It's worked that unstage text.txt
in the status view.
However, I think it's quite weird that we couldn't unstage files in the stage view.
If possible, I'd like to suggest tig
to correct this SW behavior with the lowest priority. :)
I'm not too optimistic, the stage view implementation is essentially based on using diff chunk headers and in this case, there isn't a full one.
The reproduced steps are as follow:
touch test.txt
and entertig
u
to add thetest.txt
test.txt
is in stage view and it's useless to pressu
to unstagetest.txt
test.txt
isgit reset
by typing this command manually.