$ git clone -n https://gitee.com/src-opencloudos-rpms/gtk-vnc.git /var/lib/mock/dist-oc8-build-74636-50913/root/chroot_tmpdir/scmroot/gtk-vnc Cloning into '/var/lib/mock/dist-oc8-build-74636-50913/root/chroot_tmpdir/scmroot/gtk-vnc'... $ git fetch origin 83c8e3552c5f3e7dd118851ad2f514edcc0281a1:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/gtk-vnc * [new ref] 83c8e3552c5f3e7dd118851ad2f514edcc0281a1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 83c8e35 import gtk-vnc-0.9.0-3.tl3