Skip to content

Add specific tip if the git repo is initialized but has no commits #151

@ereslibre

Description

@ereslibre

The workflow of initializing the repo, and the help we provide our users can make the difference on that first interaction. When a user has a git repo initialized, but has no commits our current message when trying to create a task after rover is initialized is:

❯ rover task -y "create a simple axum HTTP server that responds to the root path with a hello world message"

✗ Git repository validation failed

💡 Tips:
   Please ensure git is installed and the repository is properly initialized

Provide a specific tip to "create a first commit" if we detect the git repository is lacking one.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions