git.txt (330B)
1 GIT 2 3 Pretty display git log: 4 git log --graph --pretty=format:'%h - %10n: %s' --date=short 5 6 Discard/Reset uncommited changes: 7 git reset --hard HEAD && git status --short 8 9 Remove gitignored cached files: 10 git rm -r --cached . 11 12 and then: 13 git add . 14 15 That clears the whole index and re-adds everything, so ignored paths stay untracked.