$ git clone -n https://gitee.com/errata/tigervnc.git /var/lib/mock/dist-an7_9-updates-build-387650-71962/root/chroot_tmpdir/scmroot/tigervnc Cloning into '/var/lib/mock/dist-an7_9-updates-build-387650-71962/root/chroot_tmpdir/scmroot/tigervnc'... $ git reset --hard 60e0a4ce1537b12d23b74037ad28ceef7151c626 HEAD is now at 60e0a4c fix build error