$ git clone -n https://src.fedoraproject.org/rpms/python-regex.git /var/lib/mock/f43-build-61062900-6588382/root/chroot_tmpdir/scmroot/python-regex Cloning into '/var/lib/mock/f43-build-61062900-6588382/root/chroot_tmpdir/scmroot/python-regex'... $ git fetch origin 07dabb09c71e5079c6bd19344fe50429c127fc06:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/python-regex * [new ref] 07dabb09c71e5079c6bd19344fe50429c127fc06 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 07dabb0 Remove usage of python3_pkgversion macro.