$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/PyGreSQL.git /var/lib/mock/dist-an7-build-29895-15441/root/chroot_tmpdir/scmroot/PyGreSQL Cloning into '/var/lib/mock/dist-an7-build-29895-15441/root/chroot_tmpdir/scmroot/PyGreSQL'... $ git reset --hard origin/a7 HEAD is now at 2fd0c95 import PyGreSQL-4.0-9.el7.src.rpm