$ git clone -n https://gitee.com/src-anolis-os/openssh.git /var/lib/mock/dist-an7-updates-build-81387-41086/root/chroot_tmpdir/scmroot/openssh Cloning into '/var/lib/mock/dist-an7-updates-build-81387-41086/root/chroot_tmpdir/scmroot/openssh'... $ git reset --hard origin/a8.2 HEAD is now at f3847cc import openssh-8.0p1-4.el8_1.src.rpm