$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/java-1.8.0-openjdk.git /var/lib/mock/dist-an8.4-build-20186-8887/root/chroot_tmpdir/scmroot/java-1.8.0-openjdk Cloning into '/var/lib/mock/dist-an8.4-build-20186-8887/root/chroot_tmpdir/scmroot/java-1.8.0-openjdk'... $ git reset --hard origin/a8 HEAD is now at 952a384 update to java-1.8.0-openjdk-1.8.0.282.b08-4.el8.src.rpm