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