$ git clone -n https://gitee.com/gaohongmei/libedit.git /var/lib/mock/dist-an23-build-213552-61955/root/chroot_tmpdir/scmroot/libedit Cloning into '/var/lib/mock/dist-an23-build-213552-61955/root/chroot_tmpdir/scmroot/libedit'... $ git reset --hard b3cd2fa135867012c819d4e6de9754f7f058c99f HEAD is now at b3cd2fa update to 20221030-3.1