git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Revert and reset and very damaging Git commands
@ 2022-07-11 19:52 Gerriko io
  2022-07-11 21:40 ` brian m. carlson
  0 siblings, 1 reply; 3+ messages in thread
From: Gerriko io @ 2022-07-11 19:52 UTC (permalink / raw)
  To: git

As a noob I have managed to completely delete all my local folder
contents just by misusing reset and revert commands. Un-be-lievable!
And no matter how many times I've tried I cannot return to where I
was. The git reflog is not that helpful either... and only shows
resets and not revert histories.

Gosh this is not good.

Why are these commands bypassing all the fundamentals of a computer
OS. Surely if a file is deleted it should end up in the computer's
rubbish bin. Not deleted permanently without a trace.

If that is the intent then there needs to be warnings etc. for deletes
and overwrites.

I'm just amazed that all the basics of software design are ignored for
the sake of convenience and speed.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-11 23:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-11 19:52 Revert and reset and very damaging Git commands Gerriko io
2022-07-11 21:40 ` brian m. carlson
2022-07-11 23:20   ` Thomas Guyot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).