We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d19263 commit 0147a80Copy full SHA for 0147a80
cmd/new.go
@@ -224,6 +224,7 @@ func newClient() error {
224
225
func git() error {
226
if !exec.IsInstalled("git") {
227
+ os.Remove(".gitignore")
228
return nil
229
}
230
@@ -233,10 +234,12 @@ func git() error {
233
234
return err
235
236
if !yes {
237
238
239
240
out, err := exec.Execute(true, "git", "init")
241
if err != nil {
242
243
if out != "" {
244
cli.Error(out)
245
0 commit comments