$ git clone -n https://src.fedoraproject.org/rpms/restic.git /var/lib/mock/f42-build-867068-174622/root/chroot_tmpdir/scmroot/restic Cloning into '/var/lib/mock/f42-build-867068-174622/root/chroot_tmpdir/scmroot/restic'... $ git fetch origin 6bcdf0b9d319409b3d1f453563d47d57a0f917f1:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/restic * [new ref] 6bcdf0b9d319409b3d1f453563d47d57a0f917f1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6bcdf0b Update to 0.17.3 - Closes rhbz#2310352