$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libiec61883.git /var/lib/mock/dist-an7-build-31812-15804/root/chroot_tmpdir/scmroot/libiec61883 Cloning into '/var/lib/mock/dist-an7-build-31812-15804/root/chroot_tmpdir/scmroot/libiec61883'... $ git reset --hard origin/a7 HEAD is now at a42ffc5 import libiec61883-1.2.0-10.el7.src.rpm