$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libgweather.git /var/lib/mock/dist-an7-updates-build-46768-21929/root/chroot_tmpdir/scmroot/libgweather Cloning into '/var/lib/mock/dist-an7-updates-build-46768-21929/root/chroot_tmpdir/scmroot/libgweather'... $ git reset --hard origin/a7 HEAD is now at af2cdf6 update to libgweather-3.28.2-3.el7.src.rpm