$ git clone -n https://gitee.com/src-anolis-os/jetty-assembly-descriptors.git /var/lib/mock/dist-an7-build-61151-33864/root/chroot_tmpdir/scmroot/jetty-assembly-descriptors Cloning into '/var/lib/mock/dist-an7-build-61151-33864/root/chroot_tmpdir/scmroot/jetty-assembly-descriptors'... $ git reset --hard origin/a7 HEAD is now at 8e0a1de import jetty-assembly-descriptors-1.0-9.el7.src.rpm