How do I show uncommitted changes in Git?
I STFW\'ed, and these commands are not working:
teyan@TEYAN-THINK MINGW64 /d/nano/repos/PSTools/psservice (
I had a situation of git status showing changes, but git diff printing nothing, although there were changes in several lines. However:
git status
git diff
$ git diff data.txt > myfile $ cat myfile
Git 2.20.1 on raspbian. Other commands like git checkout, git pull are printing to stdout without problems.
git checkout
git pull