$ git clone -n https://gitee.com/mgb01105731/ostree_1.git /var/lib/mock/dist-an23.2-build-411733-72783/root/chroot_tmpdir/scmroot/ostree_1 Cloning into '/var/lib/mock/dist-an23.2-build-411733-72783/root/chroot_tmpdir/scmroot/ostree_1'... $ git fetch origin a23.2:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/ostree_1 * [new branch] a23.2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e73d7a5 update to 2024.5