$ git clone -n https://gitee.com/opencloudos-stream/xkbcomp.git /var/lib/mock/dist-ocs23-build-34236-1608/root/chroot_tmpdir/scmroot/xkbcomp Cloning into '/var/lib/mock/dist-ocs23-build-34236-1608/root/chroot_tmpdir/scmroot/xkbcomp'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/xkbcomp * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a03821b !1 update to 1.4.6 Merge pull request !1 from abushwang/master