Skip to content

Commit 3e98dbd

Browse files
rhcarvalhoumarcor
authored andcommitted
update .gitignore: track cobra subdirectory (spf13#936)
The 'cobra' entry on .gitignore was meant to ignore a potential 'cobra' executable generated by 'go build' during development. However, 'cobra' is a directory containing the command line tool, and such a generic entry in .gitignore ignores too much. Instead of the generic 'cobra' entry, ignore only a specific '/cobra/cobra' path.
1 parent 26b3c6a commit 3e98dbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Session.vim
3232
tags
3333

3434
*.exe
35+
/cobra/cobra
3536
cobra.test
3637
bin
3738

0 commit comments

Comments
 (0)