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