Your file is already staged to be committed. You can show it’s diff using the --cached
option of git.
git diff --cached myfile
To unstage it, just do what git status suggests in it’s output 😉
You can check The Git Index For more info.
Your file is already staged to be committed. You can show it’s diff using the --cached
option of git.
git diff --cached myfile
To unstage it, just do what git status suggests in it’s output 😉
You can check The Git Index For more info.