$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/python-cherrypy.git /var/lib/mock/dist-an7-build-34005-16169/root/chroot_tmpdir/scmroot/python-cherrypy 正克隆到 '/var/lib/mock/dist-an7-build-34005-16169/root/chroot_tmpdir/scmroot/python-cherrypy'... $ git reset --hard origin/a7 HEAD 现在位于 0dd500a import python-cherrypy-3.2.2-4.el7.src.rpm