Skip to content

Add prompt to git init on repo create. Fixes #569

Kerri Miller requested to merge github/fork/cvhariharan/trunk into trunk

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 running glab repo create directly. -> Prompt for git init shown
  • Created an empty directory and ran git init before running glab 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)

Merge request reports