Skip to content

Feat: Initialize a Git repository if none exists #32

@shatrughantwt

Description

@shatrughantwt

I’d like to add a feature that allows users to initialize a new Git repository
in the current directory if one doesn’t already exist.

Currently, if the directory is not a Git repository, the application fails.
This feature would:

  • Check whether a .git directory exists
  • If not, initialize a new Git repository automatically
  • Improve first-time user experience

If this approach sounds good, I’d be happy to work on this and raise a PR.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestlanguage/goRequires the knowledge of "Go"

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions