$ git clone -n https://gitee.com/src-anolis-os/nmap.git /var/lib/mock/dist-an23-build-82968-41683/root/chroot_tmpdir/scmroot/nmap Cloning into '/var/lib/mock/dist-an23-build-82968-41683/root/chroot_tmpdir/scmroot/nmap'... $ git reset --hard origin/a23 HEAD is now at dfc1547 initial build for anolis v23