$ git clone -n https://src.fedoraproject.org/rpms/yubihsm-shell.git /var/lib/mock/f40-build-2046518-48878/root/chroot_tmpdir/scmroot/yubihsm-shell Cloning into '/var/lib/mock/f40-build-2046518-48878/root/chroot_tmpdir/scmroot/yubihsm-shell'... $ git fetch origin a0e17dab328b58e8243ec5f03a78699e403aecad:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/yubihsm-shell * [new ref] a0e17dab328b58e8243ec5f03a78699e403aecad -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a0e17da yubihsm-shell-2.4.2-1