$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/gupnp.git /var/lib/mock/dist-an7-build-31290-15707/root/chroot_tmpdir/scmroot/gupnp Cloning into '/var/lib/mock/dist-an7-build-31290-15707/root/chroot_tmpdir/scmroot/gupnp'... $ git reset --hard origin/a7 HEAD is now at 86e799a update to gupnp-1.0.2-5.el7.src.rpm