Skip to content

Commit

Permalink
update .gitignore: track cobra subdirectory (spf13#936)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rhcarvalho authored and umarcor committed Nov 4, 2021
1 parent c885907 commit 7ac1788
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Session.vim
tags

*.exe
/cobra/cobra
cobra.test
bin

Expand Down

0 comments on commit 7ac1788

Please sign in to comment.