$ git clone -n https://git.cclinux.org/stage/rpms/volume_key.git /var/lib/mock/dist-circle8-build-110116-65397/root/chroot_tmpdir/scmroot/volume_key Cloning into '/var/lib/mock/dist-circle8-build-110116-65397/root/chroot_tmpdir/scmroot/volume_key'... $ git fetch origin c885413d9f3bc1acd38b1a7b4be2e964c8d1f915:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/volume_key * [new ref] c885413d9f3bc1acd38b1a7b4be2e964c8d1f915 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c885413 import volume_key-0.3.11-6.el8