$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/xchat.git /var/lib/mock/dist-an7-updates-build-43488-21704/root/chroot_tmpdir/scmroot/xchat Cloning into '/var/lib/mock/dist-an7-updates-build-43488-21704/root/chroot_tmpdir/scmroot/xchat'... $ git reset --hard origin/a7 HEAD is now at 5d67a9b update to xchat-2.8.8-25.el7.src.rpm