$ git clone -n https://gitee.com/src-anolis-os/junit5.git /var/lib/mock/dist-an23.3-build-422015-72908/root/chroot_tmpdir/scmroot/junit5 Cloning into '/var/lib/mock/dist-an23.3-build-422015-72908/root/chroot_tmpdir/scmroot/junit5'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/junit5 * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 74cc3f8 update to 5.10.2 from 5.9.0