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