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