$ git clone -n https://src.fedoraproject.org/rpms/python-hidapi.git /var/lib/mock/f41-build-846628-163156/root/chroot_tmpdir/scmroot/python-hidapi Cloning into '/var/lib/mock/f41-build-846628-163156/root/chroot_tmpdir/scmroot/python-hidapi'... $ git fetch origin 3b8ac36c0f6aec5f15b45e05343a33dbab0a8be2:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/python-hidapi * [new ref] 3b8ac36c0f6aec5f15b45e05343a33dbab0a8be2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3b8ac36 Better %changelog for last commit