Commit code before leaving.