Skip to content

Commit

Permalink
build: add husky ignored files to .gitignore (angular#39388)
Browse files Browse the repository at this point in the history
Ahead of upgrading to husky v5, adding the shell file location
to .gitignore to prevent it from randomly showing up when devs
checkout older branches.  Beginning in v5, husky places its
shell files in a directory at `.husky/_` so these are placed
in the .gitignore to prevent being commited or tracked.

PR Close angular#39388
  • Loading branch information
josephperrott authored and alxhub committed Oct 27, 2020
1 parent 02b2d4b commit ebd6ccd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,6 @@ baseline.json

# CLDR data
tools/gulp-tasks/cldr/cldr-data/

# Husky
.husky/_

0 comments on commit ebd6ccd

Please sign in to comment.