Add prompt to git init on repo create. Fixes #569
Created by: cvhariharan
Description
Adds a prompt to run git init
if the directory is not initialized before running glab repo create
.
Related Issue Resolves #569 (closed)
How Has This Been Tested?
- Created an empty directory without running
git init
and runningglab repo create
directly. -> Prompt for git init shown - Created an empty directory and ran
git init
before runningglab repo create
. -> No prompt shown
Screenshots (if appropriate):
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms)