$ git clone -n https://gitee.com/src-anolis-sig/keentuned.git /var/lib/mock/dist-an8.9-build-396799-72233/root/chroot_tmpdir/scmroot/keentuned Cloning into '/var/lib/mock/dist-an8.9-build-396799-72233/root/chroot_tmpdir/scmroot/keentuned'... $ git fetch origin dbfd7876f919fd0b8796429bd79ba35afb9e1a07:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-sig/keentuned * [new ref] dbfd7876f919fd0b8796429bd79ba35afb9e1a07 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dbfd787 release 3.1.0 for a8