$ git clone -n https://gitee.com/src-anolis-os/libcap.git /var/lib/mock/dist-an23-build-196017-60905/root/chroot_tmpdir/scmroot/libcap Cloning into '/var/lib/mock/dist-an23-build-196017-60905/root/chroot_tmpdir/scmroot/libcap'... $ git reset --hard origin/a23 HEAD is now at ac28e0b Update version to 2.66