$ git clone -n https://gitee.com/src-opencloudos-rpms/tigervnc.git /var/lib/mock/dist-oc8-build-34495-10869/root/chroot_tmpdir/scmroot/tigervnc Cloning into '/var/lib/mock/dist-oc8-build-34495-10869/root/chroot_tmpdir/scmroot/tigervnc'... $ git reset --hard 1d239cf576e73f5b6946faddec5bd2c5090c1a1e HEAD is now at 1d239cf import tigervnc-1.12.0-8.oc8