$ git clone -n https://src.fedoraproject.org/rpms/hplip.git /var/lib/mock/f41-build-842819-161720/root/chroot_tmpdir/scmroot/hplip Cloning into '/var/lib/mock/f41-build-842819-161720/root/chroot_tmpdir/scmroot/hplip'... $ git fetch origin c78ccf59f8cda28f09402350909dbfe0cc2e7011:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/hplip * [new ref] c78ccf59f8cda28f09402350909dbfe0cc2e7011 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c78ccf5 2292623 - hplip-3.24.4 is available