git restore is a pretty new command AFAIK. Those of us who learned git before its existence have probably stuck to the old ways of git reset --hard.
git restore
git reset --hard
git restore
is a pretty new command AFAIK. Those of us who learned git before its existence have probably stuck to the old ways ofgit reset --hard
.