Gets changes in the working directory and index compared to HEAD.
This detects both staged and unstaged changes in the current working directory. Useful for detecting local modifications before they are committed.
Array of files with changes on HEAD
When git command fails
Gets changes in the working directory and index compared to HEAD.
This detects both staged and unstaged changes in the current working directory. Useful for detecting local modifications before they are committed.