$ git clone -n https://src.fedoraproject.org/rpms/ghc-xss-sanitize.git /var/lib/mock/f38-build-side-42-init-devel-1096089-30070/root/chroot_tmpdir/scmroot/ghc-xss-sanitize Cloning into '/var/lib/mock/f38-build-side-42-init-devel-1096089-30070/root/chroot_tmpdir/scmroot/ghc-xss-sanitize'... $ git fetch origin 70f9d3d8b51fc5b1000150279d98261abea37cc6:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-xss-sanitize * [new ref] 70f9d3d8b51fc5b1000150279d98261abea37cc6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 70f9d3d Convert to %autorelease and %autochangelog