Begin .gitignore lines with /

In /.gitignore we have lines like `kubernetes/`. Because that line is
not anchored with `/` it ignores any directory called `kubernetes`
anywhere in the repo. This caused a problem in #24242 because the user
didn't realize that the directory in `vendor/` was being ignored.
pull/6/head
Eric Paris 2016-05-03 08:57:12 -04:00
parent f29d597d02
commit 1cb45c0bd1
1 changed files with 9 additions and 9 deletions

18
.gitignore vendored
View File

@ -62,16 +62,16 @@ network_closure.sh
.tags*
# Web UI
www/master/node_modules/
www/master/npm-debug.log
www/master/shared/config/development.json
/www/master/node_modules/
/www/master/npm-debug.log
/www/master/shared/config/development.json
# Karma output
www/test_out
/www/test_out
# precommit temporary directories created by ./hack/verify-generated-docs.sh and ./hack/lib/util.sh
_tmp/
doc_tmp/
/_tmp/
/doc_tmp/
# Test artifacts produced by Jenkins jobs
/_artifacts/
@ -84,13 +84,13 @@ doc_tmp/
/.gsutil/
# CoreOS stuff
cluster/libvirt-coreos/coreos_*.img
/cluster/libvirt-coreos/coreos_*.img
# Juju Stuff
cluster/juju/charms/*
/cluster/juju/charms/*
# Downloaded Kubernetes binary release
kubernetes/
/kubernetes/
# direnv .envrc files
.envrc