$ git clone -n https://gitee.com/zoedong_test/kernel.git /var/lib/mock/dist-ocs23-build-165291-10196/root/chroot_tmpdir/scmroot/kernel Cloning into '/var/lib/mock/dist-ocs23-build-165291-10196/root/chroot_tmpdir/scmroot/kernel'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/zoedong_test/kernel * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at eea11bc support sm4 in x86