$ git clone -n https://src.fedoraproject.org/rpms/nmstate.git /var/lib/mock/f40-build-806508-145131/root/chroot_tmpdir/scmroot/nmstate Cloning into '/var/lib/mock/f40-build-806508-145131/root/chroot_tmpdir/scmroot/nmstate'... $ git fetch origin a66dfbca3c054cf9b45b829ef4abfb60e5365d4d:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/nmstate * [new ref] a66dfbca3c054cf9b45b829ef4abfb60e5365d4d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a66dfbc Fix cargo vendor license file