$ git clone -n https://gitee.com/src-anolis-os/sudo.git /var/lib/mock/dist-an23-build-180011-59129/root/chroot_tmpdir/scmroot/sudo Cloning into '/var/lib/mock/dist-an23-build-180011-59129/root/chroot_tmpdir/scmroot/sudo'... $ git reset --hard origin/a23 HEAD is now at 4939ae8 Upgrade version to 1.9.12p1