$ git clone -n https://gitee.com/src-anolis-os/pidgin-sipe.git /var/lib/mock/dist-an8.7-build-267983-64025/root/chroot_tmpdir/scmroot/pidgin-sipe Cloning into '/var/lib/mock/dist-an8.7-build-267983-64025/root/chroot_tmpdir/scmroot/pidgin-sipe'... $ git reset --hard origin/a8 HEAD is now at c7f0977 import pidgin-sipe-1.23.2-1.el8.src.rpm