Skip to content

Commit

Permalink
Reword historical commit instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
athornton committed Nov 29, 2023
1 parent b0e11f8 commit f693f86
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions git/git-lfs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,18 @@ For instance, if you were working with
.. _git-lfs-historical:

Checking out Historical Commits
Checking out historical commits
===============================

If you want to check out a historical commit, you will find that the LFS
object fetch fails, because only recent commits will reference
If you want to check out a historical commit, you first need to know
that arbitrary commits are no longer available. When we migrated from
``git-lfs.lsst.codes`` to ``git-lfs.lsst.cloud`` we only migrated LFS
objects that were either at the tip of the ``main`` branch or a release
branch (one whose name begins with ``v`` followed by a digit), or were
referenced in a Git tag.

If your proposed checkout meets these criteria, next you will will find
that the LFS object fetch fails, because only recent commits reference
``git-lfs.lsst.cloud`` rather than ``git-lfs.lsst.codes``, and the
checkout will reset ``.lfsconfig`` to its old value. What you will need
to do in that case is the following.
Expand Down

0 comments on commit f693f86

Please sign in to comment.