Save things before committing
Make the project compile properly