$ git clone -n https://gitee.com/src-anolis-os/libcap-ng.git /var/lib/mock/dist-an23-build-126571-46161/root/chroot_tmpdir/scmroot/libcap-ng Cloning into '/var/lib/mock/dist-an23-build-126571-46161/root/chroot_tmpdir/scmroot/libcap-ng'... $ git reset --hard origin/a23 HEAD is now at c79028d update to 0.8.3