Reset all uncommited changes when working in a local Git repository
I need to reset all uncommitted Git changes while working in a local Git repository. I’m using this answer to the 12 year old Unstaged changes left after git reset –hard question in a Python script