$ git clone -n https://gitee.com/src-anolis-os/libedit.git /mnt/koji-mock/dist-an23-sw8a-build-455261-73648/root/chroot_tmpdir/scmroot/libedit Cloning into '/mnt/koji-mock/dist-an23-sw8a-build-455261-73648/root/chroot_tmpdir/scmroot/libedit'... $ git reset --hard b3cd2fa135867012c819d4e6de9754f7f058c99f HEAD is now at b3cd2fa update to 20221030-3.1