$ git clone -n https://gitee.com/src-anolis-os/ipcalc.git /var/lib/mock/dist-an23-build-78713-40620/root/chroot_tmpdir/scmroot/ipcalc Cloning into '/var/lib/mock/dist-an23-build-78713-40620/root/chroot_tmpdir/scmroot/ipcalc'... $ git reset --hard origin/a23 HEAD is now at 82e735c Initial packaging for Anolis OS 23