$ git clone -n https://gitee.com/src-anolis-os/langtable.git /var/lib/mock/dist-an23-build-339139-69773/root/chroot_tmpdir/scmroot/langtable Cloning into '/var/lib/mock/dist-an23-build-339139-69773/root/chroot_tmpdir/scmroot/langtable'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/langtable * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9794684 update to 0.0.64