$ git clone -n https://src.fedoraproject.org/rpms/python-requests.git /var/lib/mock/f40-build-2204222-51952/root/chroot_tmpdir/scmroot/python-requests Cloning into '/var/lib/mock/f40-build-2204222-51952/root/chroot_tmpdir/scmroot/python-requests'... $ git fetch origin ab88e0da153ae8c2fccdee73878e75a069b74dcc:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/python-requests * [new ref] ab88e0da153ae8c2fccdee73878e75a069b74dcc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ab88e0d Move lines around to resemble the example Python specfile