$ git clone -n https://gitee.com/src-anolis-os/plexus-containers.git /var/lib/mock/dist-an7-build-61762-34062/root/chroot_tmpdir/scmroot/plexus-containers Cloning into '/var/lib/mock/dist-an7-build-61762-34062/root/chroot_tmpdir/scmroot/plexus-containers'... $ git reset --hard origin/a7 HEAD is now at b5b7c7d import plexus-containers-1.5.5-14.el7.src.rpm