$ git clone -n https://gitee.com/src-anolis-os/langpacks.git /var/lib/mock/dist-an8-poc-build-101940-45595/root/chroot_tmpdir/scmroot/langpacks Cloning into '/var/lib/mock/dist-an8-poc-build-101940-45595/root/chroot_tmpdir/scmroot/langpacks'... $ git reset --hard origin/a8-poc HEAD is now at b33ffc3 update to langpacks-2.0-7.fc31.src.rpm