$ git clone -n https://src.fedoraproject.org/rpms/ghc-union-find.git /var/lib/mock/f38-build-side-42-init-devel-720015-27296/root/chroot_tmpdir/scmroot/ghc-union-find Cloning into '/var/lib/mock/f38-build-side-42-init-devel-720015-27296/root/chroot_tmpdir/scmroot/ghc-union-find'... $ git fetch origin d4af19912ce2ec70b8f10ea90aa8cdcfb9767170:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-union-find * [new ref] d4af19912ce2ec70b8f10ea90aa8cdcfb9767170 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d4af199 Convert to %autorelease and %autochangelog