-
Notifications
You must be signed in to change notification settings - Fork 144
Add --pathspec-from-file
option
#445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
cca5aee
fea64df
1182ba3
cea470f
0e1ac7e
c877866
a97910c
9a62da3
5e449c8
a498dda
fd16675
9e37a74
c4dd4ea
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,8 @@ SYNOPSIS | |
[-F <file> | -m <msg>] [--reset-author] [--allow-empty] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Junio C Hamano wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Alexandr Miloslavskiy wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Junio C Hamano wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Alexandr Miloslavskiy wrote (reply to this):
SyntevoAlex marked this conversation as resolved.
Show resolved
Hide resolved
SyntevoAlex marked this conversation as resolved.
Show resolved
Hide resolved
SyntevoAlex marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[--allow-empty-message] [--no-verify] [-e] [--author=<author>] | ||
[--date=<date>] [--cleanup=<mode>] [--[no-]status] | ||
[-i | -o] [-S[<keyid>]] [--] [<file>...] | ||
[-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]] | ||
[-S[<keyid>]] [--] [<pathspec>...] | ||
|
||
DESCRIPTION | ||
----------- | ||
|
@@ -278,6 +279,19 @@ FROM UPSTREAM REBASE" section in linkgit:git-rebase[1].) | |
already been staged. If used together with `--allow-empty` | ||
paths are also not required, and an empty commit will be created. | ||
|
||
--pathspec-from-file=<file>:: | ||
Pathspec is passed in `<file>` instead of commandline args. If | ||
`<file>` is exactly `-` then standard input is used. Pathspec | ||
elements are separated by LF or CR/LF. Pathspec elements can be | ||
quoted as explained for the configuration variable `core.quotePath` | ||
(see linkgit:git-config[1]). See also `--pathspec-file-nul` and | ||
global `--literal-pathspecs`. | ||
|
||
--pathspec-file-nul:: | ||
Only meaningful with `--pathspec-from-file`. Pathspec elements are | ||
separated with NUL character and all other characters are taken | ||
literally (including newlines and quotes). | ||
|
||
-u[<mode>]:: | ||
--untracked-files[=<mode>]:: | ||
Show untracked files. | ||
|
@@ -345,12 +359,13 @@ changes to tracked files. | |
\--:: | ||
Do not interpret any more arguments as options. | ||
|
||
<file>...:: | ||
When files are given on the command line, the command | ||
commits the contents of the named files, without | ||
recording the changes already staged. The contents of | ||
these files are also staged for the next commit on top | ||
of what have been staged before. | ||
<pathspec>...:: | ||
When pathspec is given on the command line, commit the contents of | ||
the files that match the pathspec without recording the changes | ||
already added to the index. The contents of these files are also | ||
staged for the next commit on top of what have been staged before. | ||
+ | ||
For more details, see the 'pathspec' entry in linkgit:gitglossary[7]. | ||
|
||
:git-commit: 1 | ||
include::date-formats.txt[] | ||
|
Uh oh!
There was an error while loading. Please reload this page.