mache.spack.pins.checkout_command
- mache.spack.pins.checkout_command(entry, dest)[source]
Bash commands that make
desta clean checkout of a pin entry.The clone is created if it is absent. Otherwise its
originis pointed at the entry’sgit, which may have changed since the clone was made (e.g. to a fork), and fetched. The clone is then detached and hard-reset to the pinned ref, so any local changes (such as theetc/spack/include.yamlthatspack isolaterewrites) are discarded.