$ git clone -n https://gitee.com/src-anolis-os/plexus-mail-sender.git /var/lib/mock/dist-an7-build-61775-34062/root/chroot_tmpdir/scmroot/plexus-mail-sender Cloning into '/var/lib/mock/dist-an7-build-61775-34062/root/chroot_tmpdir/scmroot/plexus-mail-sender'... $ git reset --hard origin/a7 HEAD is now at 62f343f import plexus-mail-sender-1.0-1.a2.25.el7.src.rpm