Your project has not been saved.
This error has the following cause and solution:
You have to save your project before using it with source code control.
Save the project, then try your command again.