$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/targetd.git /var/lib/mock/dist-an7-build-30456-15508/root/chroot_tmpdir/scmroot/targetd Cloning into '/var/lib/mock/dist-an7-build-30456-15508/root/chroot_tmpdir/scmroot/targetd'... $ git reset --hard origin/a7 HEAD is now at 6e58b68 import targetd-0.8.6-1.el7.src.rpm