$ git clone -n https://gitee.com/wenyuzifang/shaderc.git /var/lib/mock/dist-an23-build-486750-74383/root/chroot_tmpdir/scmroot/shaderc Cloning into '/var/lib/mock/dist-an23-build-486750-74383/root/chroot_tmpdir/scmroot/shaderc'... $ git fetch origin c1775b5d7d966f70c8118aa548d8e79cc7fea8be:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/shaderc * [new ref] c1775b5d7d966f70c8118aa548d8e79cc7fea8be -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c1775b5 Update code from upstream