$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/pixman.git /var/lib/mock/dist-an7-build-32779-16100/root/chroot_tmpdir/scmroot/pixman Cloning into '/var/lib/mock/dist-an7-build-32779-16100/root/chroot_tmpdir/scmroot/pixman'... $ git reset --hard origin/a7 HEAD is now at 2a5d9b2 import pixman-0.34.0-1.el7.src.rpm