aerogear / charmil

The framework for building modular plugin based CLI's using Cobra and Golang
https://aerogear.github.io/charmil
Apache License 2.0
116 stars 13 forks source link

`charmil init` generates broken git repo #246

Closed kadel closed 3 years ago

kadel commented 3 years ago

Description

Git repository created by charmil init has broken index.

Steps to reproduce

Expected vs actual behaviour

▶ charmil init
GitHub Organization or Username: test
GitHub Repo Name: test
CLI Name: test
Enumerating objects: 161, done.
Counting objects: 100% (161/161), done.
Compressing objects: 100% (97/97), done.
Total 161 (delta 49), reused 141 (delta 34), pack-reused 0
updating starter code with names
Your test CLI has been initialized in this directory.

▶ git status
fatal: unknown index entry format 0x1efa0000
wtrocki commented 3 years ago

Thank you for reporting issue. I think we should not generate .git repository.

@ankithans this is probably due to using our template repo. I guess we can simply remove .git folder.

ankithans commented 3 years ago

yes, after cloning - we can remove .git folder. Will fix it.