From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: Git Mailing list <git@vger.kernel.org>
Subject: why does "man git-clean" not mention files ignored by core.excludesFile?
Date: Mon, 21 May 2018 12:24:43 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.2.21.1805211221180.18665@localhost.localdomain> (raw)
[-- Attachment #1: Type: text/plain, Size: 924 bytes --]
sort of related to my previous post, but in "man git-clean", one
reads:
-e <pattern>, --exclude=<pattern>
In addition to those found in .gitignore (per directory)
and $GIT_DIR/info/exclude, also consider these patterns to
be in the set of the ignore rules in effect.
-x
Don’t use the standard ignore rules read from .gitignore
(per directory) and $GIT_DIR/info/exclude, but do still use
the ignore rules given with -e options. This allows
removing all untracked files, including build products.
This can be used (possibly in conjunction with git reset)
to create a pristine working directory to test a clean
build.
why is there no mention of files ignored via a user's
core.excludesFile configuration? those sections seem sufficiently
comprehensive to list all of the other ways to ignore files, is there
a reason that that config setting is not mentioned?
rday
next reply other threads:[~2018-05-21 16:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-21 16:24 Robert P. J. Day [this message]
2018-05-22 2:50 ` why does "man git-clean" not mention files ignored by core.excludesFile? Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LFD.2.21.1805211221180.18665@localhost.localdomain \
--to=rpjday@crashcourse.ca \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).