What are the ongoing phased changes?

I just interactively put a few pieces of the file, someFile.txt . Therefore, when I look at the current status, I see the file in both phased and unidentified areas.

How do I know what changes are currently in progress?

+6
source share
1 answer

You can see what changes are currently being implemented using git diff --cached .

With no arguments, git diff will show you undefined changes in the working directory; using git diff --cached , it will show you only the changes that were delivered but not yet committed.

+8
source

Source: https://habr.com/ru/post/953476/


All Articles