$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libwnck3.git /var/lib/mock/dist-an7-build-32080-15892/root/chroot_tmpdir/scmroot/libwnck3 Cloning into '/var/lib/mock/dist-an7-build-32080-15892/root/chroot_tmpdir/scmroot/libwnck3'... $ git reset --hard origin/a7 HEAD is now at 82e8656 import libwnck3-3.24.1-2.el7.src.rpm