$ git clone -n https://gitee.com/src-anolis-os/java-11-openjdk.git /var/lib/mock/dist-an8_5-build-79699-40695/root/chroot_tmpdir/scmroot/java-11-openjdk Cloning into '/var/lib/mock/dist-an8_5-build-79699-40695/root/chroot_tmpdir/scmroot/java-11-openjdk'... $ git reset --hard origin/a8 HEAD is now at 5bd34fb update to java-11-openjdk-11.0.14.1.1-2.el8_5