$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/mythes-pl.git /var/lib/mock/dist-an7-build-40096-20007/root/chroot_tmpdir/scmroot/mythes-pl Cloning into '/var/lib/mock/dist-an7-build-40096-20007/root/chroot_tmpdir/scmroot/mythes-pl'... $ git reset --hard origin/a7 HEAD is now at e34bf55 import mythes-pl-1.5-11.el7.src.rpm