$ git clone -n https://gitee.com/opencloudos-stream/edk2.git /var/lib/mock/dist-ocs23-build-41995-2059/root/chroot_tmpdir/scmroot/edk2 Cloning into '/var/lib/mock/dist-ocs23-build-41995-2059/root/chroot_tmpdir/scmroot/edk2'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/edk2 * [new ref] -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d637243 !2 upgrade to 20230524gitba91d0292e Merge pull request !2 from cunshunxia/master