$ git clone -n https://gitee.com/zhonglingh/virt-viewer.git /var/lib/mock/dist-an23-build-231901-62557/root/chroot_tmpdir/scmroot/virt-viewer Cloning into '/var/lib/mock/dist-an23-build-231901-62557/root/chroot_tmpdir/scmroot/virt-viewer'... $ git reset --hard fd3e78fa413db1a63deb910328fa0131e1fd3a1f HEAD is now at fd3e78f Init package from upstream