$ git clone -n https://gitee.com/src-anolis-os/whois.git /var/lib/mock/dist-an23-build-80336-40989/root/chroot_tmpdir/scmroot/whois Cloning into '/var/lib/mock/dist-an23-build-80336-40989/root/chroot_tmpdir/scmroot/whois'... $ git reset --hard origin/a23-dev HEAD is now at 866bdc5 enable mkpasswd