diff options
authorZhongShengping <>2018-10-08 11:39:23 +0800
committerZhongShengping <>2018-10-08 11:39:23 +0800
commit23f9b975fa44a4d0039d6ef32be492b823aa6d1b (patch)
parentcb1eeafb086e06e069819063f061f30f4676b91d (diff)
Dissuade .gitignore references to personal tools
Developers run all sorts of different tools within Git repositories, any of which can leave their own special trashfiles all over the place. We can't every hope to catalog them all, so better to recommend developers simply configure a global core.excludesfile to filter the irrelevant files which tend to get created by their personal choice of tools. Add a comment block explaining this, for clarity, and remove the one current editor-specific entry present. We can, and should of course, continue to list files created by the tools recommended by our workflow (test frameworks, documentation and packaging builds, et cetera). This change is a port of Ib58a57267b064e4142686de6c37a70dbff04b9a7 from the openstack-dev/cookiecutter repository. Change-Id: I548a3373adbcb4ce3aba4b1a29e792f3221e9b7b
Notes (review): Code-Review+2: Alex Schultz <> Workflow+1: Alex Schultz <> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 08 Oct 2018 16:56:04 +0000 Reviewed-on: Project: openstack/puppet-designate Branch: refs/heads/master
1 files changed, 11 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 8550737..2850371 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,14 @@
1# Add patterns in here to exclude files created by tools integrated with this
2# repository, such as test frameworks from the project's recommended workflow,
3# rendered documentation and package builds.
5# Don't add patterns to exclude files created by preferred personal tools
6# (editors, IDEs, your operating system itself even). These should instead be
7# maintained outside the repository, for example in a ~/.gitignore file added
8# with:
10# git config --global core.excludesfile '~/.gitignore'
1pkg/ 12pkg/
2Gemfile.lock 13Gemfile.lock
3vendor/ 14vendor/
@@ -6,7 +17,6 @@ spec/fixtures/
6.bundle/ 17.bundle/
7coverage/ 18coverage/
8.idea/ 19.idea/
10*.iml 20*.iml
11/openstack 21/openstack
12/log 22/log