$ git clone -n https://src.fedoraproject.org/rpms/ghc-xml-types.git /var/lib/mock/f38-build-side-42-init-devel-842817-28416/root/chroot_tmpdir/scmroot/ghc-xml-types Cloning into '/var/lib/mock/f38-build-side-42-init-devel-842817-28416/root/chroot_tmpdir/scmroot/ghc-xml-types'... $ git fetch origin 10fd8e3d378b518efb1637c4a67f8a1844f21b90:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-xml-types * [new ref] 10fd8e3d378b518efb1637c4a67f8a1844f21b90 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 10fd8e3 Convert to %autorelease and %autochangelog