$ git clone -n https://gitee.com/dian-ws/hidapi.git /var/lib/mock/dist-an23-build-224943-62279/root/chroot_tmpdir/scmroot/hidapi Cloning into '/var/lib/mock/dist-an23-build-224943-62279/root/chroot_tmpdir/scmroot/hidapi'... $ git reset --hard e41776848f56433f737c8b779c566585a96847d8 HEAD is now at e417768 update to 0.13.1