$ git clone -n https://gitee.com/wency_cn/check.git /var/lib/mock/dist-an23-build-491985-74553/root/chroot_tmpdir/scmroot/check Cloning into '/var/lib/mock/dist-an23-build-491985-74553/root/chroot_tmpdir/scmroot/check'... $ git fetch origin aeec26f3c8931d721c291fabf05d41e7d7ed6950:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/check * [new ref] aeec26f3c8931d721c291fabf05d41e7d7ed6950 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at aeec26f Update code from upstream