$ git clone -n https://gitee.com/src-anolis-os/syslinux.git /var/lib/mock/dist-an23-build-84292-42342/root/chroot_tmpdir/scmroot/syslinux Cloning into '/var/lib/mock/dist-an23-build-84292-42342/root/chroot_tmpdir/scmroot/syslinux'... $ git reset --hard origin/a23 HEAD is now at 040bb12 init from upstream