$ git clone -n https://gitee.com/src-anolis-os/ftp.git /var/lib/mock/dist-an23-build-82106-41340/root/chroot_tmpdir/scmroot/ftp Cloning into '/var/lib/mock/dist-an23-build-82106-41340/root/chroot_tmpdir/scmroot/ftp'... $ git reset --hard origin/a23 HEAD is now at 82a848d Init package from upstream v0.17