Search code examples
gitgithubbranchcommitgit-commit

nothing to commit, working directory clean, however with changes commited


$ git status
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean

This is what I get, when I try to track the changes on README.md file.


Solution

  • Use git log command instead for tracking changes. Refer to this for more: https://git-scm.com/book/en/v2/Git-Basics-Viewing-the-Commit-History