$ git clone -n https://src.fedoraproject.org/rpms/ghc-servant-client-core.git /var/lib/mock/f38-build-side-42-init-devel-979271-29004/root/chroot_tmpdir/scmroot/ghc-servant-client-core Cloning into '/var/lib/mock/f38-build-side-42-init-devel-979271-29004/root/chroot_tmpdir/scmroot/ghc-servant-client-core'... $ git fetch origin fc986b4438da3c27e89ab6b1936cb01e25e0ab7e:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-servant-client-core * [new ref] fc986b4438da3c27e89ab6b1936cb01e25e0ab7e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at fc986b4 Convert to %autorelease and %autochangelog