$ git clone -n https://gitee.com/src-opencloudos-rpms/tigervnc /var/lib/mock/dist-oc8-build-74252-49789/root/chroot_tmpdir/scmroot/tigervnc Cloning into '/var/lib/mock/dist-oc8-build-74252-49789/root/chroot_tmpdir/scmroot/tigervnc'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/tigervnc * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at fa716de import tigervnc-1.13.1-8.tl3