$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libsmbios.git /var/lib/mock/dist-an7-build-31995-15859/root/chroot_tmpdir/scmroot/libsmbios Cloning into '/var/lib/mock/dist-an7-build-31995-15859/root/chroot_tmpdir/scmroot/libsmbios'... $ git reset --hard origin/a7 HEAD is now at 5272fea import libsmbios-2.3.3-8.el7.src.rpm