$ git clone -n https://gitee.com/opencloudos-stream/fcitx.git /var/lib/mock/dist-ocs23-build-128161-8688/root/chroot_tmpdir/scmroot/fcitx Cloning into '/var/lib/mock/dist-ocs23-build-128161-8688/root/chroot_tmpdir/scmroot/fcitx'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/fcitx * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c5c0458 !2 fixed directory Merge pull request !2 from chairou/master