$ git clone -n https://gitee.com/src-anolis-os/kross-interpreters.git /var/lib/mock/dist-an7-build-61206-33878/root/chroot_tmpdir/scmroot/kross-interpreters Cloning into '/var/lib/mock/dist-an7-build-61206-33878/root/chroot_tmpdir/scmroot/kross-interpreters'... $ git reset --hard origin/a7 HEAD is now at 080be0d import kross-interpreters-4.10.5-8.el7.src.rpm