$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hivex.git /var/lib/mock/dist-an7-build-27989-15217/root/chroot_tmpdir/scmroot/hivex Cloning into '/var/lib/mock/dist-an7-build-27989-15217/root/chroot_tmpdir/scmroot/hivex'... $ git reset --hard origin/a7 HEAD is now at 6a6ae8e update to hivex-1.3.10-6.9.el7.src.rpm