$ git clone -n https://src.fedoraproject.org/rpms/httpcomponents-core.git /var/lib/mock/f41-build-2442895-25478/root/chroot_tmpdir/scmroot/httpcomponents-core Cloning into '/var/lib/mock/f41-build-2442895-25478/root/chroot_tmpdir/scmroot/httpcomponents-core'... $ git fetch origin baebb117419bad92c1c7f4593595c0522ff8e038:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/httpcomponents-core * [new ref] baebb117419bad92c1c7f4593595c0522ff8e038 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at baebb11 Convert to %autorelease and %autochangelog