Error if there are uncommited changes