$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libseccomp.git /var/lib/mock/dist-an7-updates-build-43073-21668/root/chroot_tmpdir/scmroot/libseccomp Cloning into '/var/lib/mock/dist-an7-updates-build-43073-21668/root/chroot_tmpdir/scmroot/libseccomp'... $ git reset --hard origin/a7 HEAD is now at 457e1d1 update to libseccomp-2.3.1-4.el7.src.rpm