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