tech-repository archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: irt: Re: Core statement on version control systems
On Tue, 16 Sept 2025 at 06:25, Reinoud Zandijk
<reinoud%gorilla.13thmonkey.org@localhost> wrote:
>
> On Mon, Sep 15, 2025 at 08:07:25PM -0700, Elliott Mitchell wrote:
> > NetBSD and OpenBSD had been lagging behind in repository format for a
> > long time and I figured it was time to get an update. This is near the
> > most astonishing news possible.
> ...
> > OpenBSD has not announced any plans, but the existence of "Game of Trees"
> > (https://www.gameoftrees.org/ https://www.gothub.org/) suggests the
> > OpenBSD project is thoroughly exploring the Git repository format.
>
> Well, having bad experiences with git myself, and to a lesser extent also on
> mercurial, i welcome GoT as it seems to be a lot more stable in its use. I've
> had too many corruptions in the last with git due to issuing a wrong command
> resuling in me then having to nuke it all and re-checkout.
That's where git-reflog comes in.
`git reflog` can tell you all the prior points of the local
repository, and you can go back in time to one of those points if
something has been messed up since then.
Of course, prior to going back to any of those points, you can also
examine those trees with all the standard commands, too.
Another favourite of mine is `git rebase --interactive`, it lets you
drop any commit you don't want, or replay existing changes on top of a
different branch.
You'd never have to delete a repo if you're aware of git-reflog,
git-rebase and a few other commands.
C.
Home |
Main Index |
Thread Index |
Old Index