It might be worth noting that git reset does not delete untracked files, even with --hard. It only affects those that are already tracked.
So, for example, some recent commits causes your app to generate some files, then you later reset those commits, it will leave those files as untracked.
For that, you need git clean.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great visualizations :)
It might be worth noting that
git reset
does not delete untracked files, even with--hard
. It only affects those that are already tracked.So, for example, some recent commits causes your app to generate some files, then you later
reset
those commits, it will leave those files as untracked.For that, you need
git clean
.