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