← Back to context

Comment by gdxhyrd

5 years ago

git log, copy paste hash, git checkout

If you have a dirty wd, stash.

But, to be honest, I almost never perform that action, and when I do I use the web browser.

> git log, copy paste hash, git checkout

You remember the hash of your June commit 3 years ago??

> But, to be honest, I almost never perform that action, and when I do I use the web browser.

Web browser... for a local repo? Or do you mean you don't have a solution if your repo isn't on GitHub or you don't have an internet connection handy?

(You should also time yourself on your web interface by the way.)

  • > You remember the hash of your June commit 3 years ago??

    ...which is what the git log above is there for.

    > Web browser... for a local repo? Or do you mean you don't have a solution if your repo isn't on GitHub or you don't have an internet connection handy?

    Yeah, local repo. You know, git is not GitHub. :)

    > (You should also time yourself on your web interface by the way.)

    Just paste the hash commit in the HEAD selector or even in the URL.

> "when I do I use the web browser"

So a graphical interface then? I'm sure you can see why using a GUI for other functions is just as useful.