Undoing commit with irrelevant files. Part II.