$ git clone -n https://gitee.com/wenyuzifang/libinput.git /var/lib/mock/dist-an23-build-485401-74348/root/chroot_tmpdir/scmroot/libinput Cloning into '/var/lib/mock/dist-an23-build-485401-74348/root/chroot_tmpdir/scmroot/libinput'... $ git fetch origin 2c1f0592d6254ad1b04bfbf0a112b231d9fee807:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/libinput * [new ref] 2c1f0592d6254ad1b04bfbf0a112b231d9fee807 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2c1f059 Update code from upstream