$ git clone -n https://src.fedoraproject.org/rpms/gmic.git /var/lib/mock/f42-build-864653-172514/root/chroot_tmpdir/scmroot/gmic Cloning into '/var/lib/mock/f42-build-864653-172514/root/chroot_tmpdir/scmroot/gmic'... $ git fetch origin 6d96f77ed7b0bf1f376c16cab2fbec72c019b98b:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/gmic * [new ref] 6d96f77ed7b0bf1f376c16cab2fbec72c019b98b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6d96f77 Rebuild for hdf5 1.14.5