$ git clone -n https://src.fedoraproject.org/rpms/octave.git /var/lib/mock/f42-build-3460585-45515/root/chroot_tmpdir/scmroot/octave Cloning into '/var/lib/mock/f42-build-3460585-45515/root/chroot_tmpdir/scmroot/octave'... $ git fetch origin df4d13e4907f0011f32600e1e5c0c6463b75d65c:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/octave * [new ref] df4d13e4907f0011f32600e1e5c0c6463b75d65c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at df4d13e Remove octave.conf file