$ git clone -n https://src.fedoraproject.org/rpms/python-tox.git /var/lib/mock/f40-build-2214596-52382/root/chroot_tmpdir/scmroot/python-tox Cloning into '/var/lib/mock/f40-build-2214596-52382/root/chroot_tmpdir/scmroot/python-tox'... $ git fetch origin f480c33d04ee5e0989558f079b66afa3a0860fa4:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/python-tox * [new ref] f480c33d04ee5e0989558f079b66afa3a0860fa4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f480c33 Convert to %autorelease and %autochangelog