mirror of https://github.com/k3s-io/k3s
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
parent
f29d597d02
commit
1cb45c0bd1
|
@ -62,16 +62,16 @@ network_closure.sh
|
||||||
.tags*
|
.tags*
|
||||||
|
|
||||||
# Web UI
|
# Web UI
|
||||||
www/master/node_modules/
|
/www/master/node_modules/
|
||||||
www/master/npm-debug.log
|
/www/master/npm-debug.log
|
||||||
www/master/shared/config/development.json
|
/www/master/shared/config/development.json
|
||||||
|
|
||||||
# Karma output
|
# Karma output
|
||||||
www/test_out
|
/www/test_out
|
||||||
|
|
||||||
# precommit temporary directories created by ./hack/verify-generated-docs.sh and ./hack/lib/util.sh
|
# precommit temporary directories created by ./hack/verify-generated-docs.sh and ./hack/lib/util.sh
|
||||||
_tmp/
|
/_tmp/
|
||||||
doc_tmp/
|
/doc_tmp/
|
||||||
|
|
||||||
# Test artifacts produced by Jenkins jobs
|
# Test artifacts produced by Jenkins jobs
|
||||||
/_artifacts/
|
/_artifacts/
|
||||||
|
@ -84,13 +84,13 @@ doc_tmp/
|
||||||
/.gsutil/
|
/.gsutil/
|
||||||
|
|
||||||
# CoreOS stuff
|
# CoreOS stuff
|
||||||
cluster/libvirt-coreos/coreos_*.img
|
/cluster/libvirt-coreos/coreos_*.img
|
||||||
|
|
||||||
# Juju Stuff
|
# Juju Stuff
|
||||||
cluster/juju/charms/*
|
/cluster/juju/charms/*
|
||||||
|
|
||||||
# Downloaded Kubernetes binary release
|
# Downloaded Kubernetes binary release
|
||||||
kubernetes/
|
/kubernetes/
|
||||||
|
|
||||||
# direnv .envrc files
|
# direnv .envrc files
|
||||||
.envrc
|
.envrc
|
||||||
|
|
Loading…
Reference in New Issue