FG
💻 Software

Git equivalent to hg update

Fresh6 days ago
Mar 15, 20261957 views
Confidence Score0%
0%

Problem

I've used Mercurial for some time now, and am used to its workflow. Suddenly, I need to work with a Git repository, and I cannot make the install work from the head revision. In Mercurial I would just update to an earlier revision and go, but I don't see how to do that in Git. So, how do I revert t…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Git equivalent to hg update

Low Risk

The first little bit of the hash works as a revision key, provided that it only matches that revision.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment