$ git clone -n https://src.fedoraproject.org/rpms/suricata.git /var/lib/mock/f40-build-804232-144471/root/chroot_tmpdir/scmroot/suricata Cloning into '/var/lib/mock/f40-build-804232-144471/root/chroot_tmpdir/scmroot/suricata'... $ git fetch origin 01fadcd1a90168ced0ce1b969b27f5473d88a8c1:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/suricata * [new ref] 01fadcd1a90168ced0ce1b969b27f5473d88a8c1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 01fadcd undo patch