$ git clone -n https://gitee.com/gaohongmei/libinput.git /var/lib/mock/dist-an23-build-195883-60901/root/chroot_tmpdir/scmroot/libinput Cloning into '/var/lib/mock/dist-an23-build-195883-60901/root/chroot_tmpdir/scmroot/libinput'... $ git reset --hard 4dd422f08e482c3400ec72bbc0dc3b440624da3b HEAD is now at 4dd422f optimise spec file