$ git clone -n https://src.fedoraproject.org/rpms/rust-hidapi.git /var/lib/mock/f45-build-42358-793/root/chroot_tmpdir/scmroot/rust-hidapi Cloning into '/var/lib/mock/f45-build-42358-793/root/chroot_tmpdir/scmroot/rust-hidapi'... $ git fetch origin 5d4b1dbf4c95bb5345cb74e02f5fcd3c364e93e3:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/rust-hidapi * [new ref] 5d4b1dbf4c95bb5345cb74e02f5fcd3c364e93e3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5d4b1db Update to version 2.6.7; Fixes RHBZ#2525157