$ git clone -n https://src.fedoraproject.org/rpms/ghc-pretty-terminal.git /var/lib/mock/f38-build-side-42-init-devel-943402-28778/root/chroot_tmpdir/scmroot/ghc-pretty-terminal Cloning into '/var/lib/mock/f38-build-side-42-init-devel-943402-28778/root/chroot_tmpdir/scmroot/ghc-pretty-terminal'... $ git fetch origin 6ae8c1545e2ec67bb6a01c803633f00bbc35255c:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-pretty-terminal * [new ref] 6ae8c1545e2ec67bb6a01c803633f00bbc35255c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6ae8c15 Convert to %autorelease and %autochangelog