Undoing commit with irrelevant files