$ git clone -n https://gitee.com/src-anolis-os/gstreamer-python.git /var/lib/mock/dist-an7-build-61111-33842/root/chroot_tmpdir/scmroot/gstreamer-python Cloning into '/var/lib/mock/dist-an7-build-61111-33842/root/chroot_tmpdir/scmroot/gstreamer-python'... $ git reset --hard origin/a7 HEAD is now at 606847c import gstreamer-python-0.10.22-6.el7.src.rpm