Use git reflog before assuming a commit is lost
Recover commits after a bad reset, rebase, amend, or branch move by checking where Git refs pointed before.
Recover commits after a bad reset, rebase, amend, or branch move by checking where Git refs pointed before.
Use a single C# file when a repo utility is useful but a full project would be ceremony.
A quick .NET 10 tip for running a single C# file without creating a project, with package directives, argument passing, conversion, and preview multi-file support.