$ git clone -n https://src.fedoraproject.org/rpms/tnef.git /var/lib/mock/f41-build-side-1-2670840-29064/root/chroot_tmpdir/scmroot/tnef Cloning into '/var/lib/mock/f41-build-side-1-2670840-29064/root/chroot_tmpdir/scmroot/tnef'... $ git fetch origin 94a402f7dbf32cee5e87856f1446a48705e3f05c:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/tnef * [new ref] 94a402f7dbf32cee5e87856f1446a48705e3f05c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 94a402f convert GPLv2+ license to SPDX