Skip to content
Snippets Groups Projects
Commit a6b634e2 authored by Jean-Noël Avila's avatar Jean-Noël Avila
Browse files

update en files for v2.24.0

parent abe53b9d
No related branches found
No related tags found
No related merge requests found
...@@ -165,29 +165,31 @@ ref listing the commits pushed to the repository, and logs the push ...@@ -165,29 +165,31 @@ ref listing the commits pushed to the repository, and logs the push
certificates of signed pushes with good signatures to a logger certificates of signed pushes with good signatures to a logger
service: service:
#!/bin/sh ----
# mail out commit update information. #!/bin/sh
while read oval nval ref # mail out commit update information.
do while read oval nval ref
if expr "$oval" : '0*$' >/dev/null do
then if expr "$oval" : '0*$' >/dev/null
echo "Created a new ref, with the following commits:"
git rev-list --pretty "$nval"
else
echo "New commits:"
git rev-list --pretty "$nval" "^$oval"
fi |
mail -s "Changes to ref $ref" commit-list@mydomain
done
# log signed push certificate, if any
if test -n "${GIT_PUSH_CERT-}" && test ${GIT_PUSH_CERT_STATUS} = G
then then
( echo "Created a new ref, with the following commits:"
echo expected nonce is ${GIT_PUSH_NONCE} git rev-list --pretty "$nval"
git cat-file blob ${GIT_PUSH_CERT} else
) | mail -s "push certificate from $GIT_PUSH_CERT_SIGNER" push-log@mydomain echo "New commits:"
fi git rev-list --pretty "$nval" "^$oval"
exit 0 fi |
mail -s "Changes to ref $ref" commit-list@mydomain
done
# log signed push certificate, if any
if test -n "${GIT_PUSH_CERT-}" && test ${GIT_PUSH_CERT_STATUS} = G
then
(
echo expected nonce is ${GIT_PUSH_NONCE}
git cat-file blob ${GIT_PUSH_CERT}
) | mail -s "push certificate from $GIT_PUSH_CERT_SIGNER" push-log@mydomain
fi
exit 0
----
The exit code from this hook invocation is ignored, however a The exit code from this hook invocation is ignored, however a
non-zero exit code will generate an error message. non-zero exit code will generate an error message.
...@@ -212,8 +214,10 @@ anyway. ...@@ -212,8 +214,10 @@ anyway.
This hook can be used, for example, to run `git update-server-info` This hook can be used, for example, to run `git update-server-info`
if the repository is packed and is served via a dumb transport. if the repository is packed and is served via a dumb transport.
#!/bin/sh ----
exec git update-server-info #!/bin/sh
exec git update-server-info
----
QUARANTINE ENVIRONMENT QUARANTINE ENVIRONMENT
......
...@@ -123,10 +123,10 @@ The following format are available: ...@@ -123,10 +123,10 @@ The following format are available:
CREATING REPLACEMENT OBJECTS CREATING REPLACEMENT OBJECTS
---------------------------- ----------------------------
linkgit:git-filter-branch[1], linkgit:git-hash-object[1] and linkgit:git-hash-object[1], linkgit:git-rebase[1], and
linkgit:git-rebase[1], among other git commands, can be used to create https://github.com/newren/git-filter-repo[git-filter-repo], among other git commands, can be used to
replacement objects from existing objects. The `--edit` option can create replacement objects from existing objects. The `--edit` option
also be used with 'git replace' to create a replacement object by can also be used with 'git replace' to create a replacement object by
editing an existing object. editing an existing object.
If you want to replace many blobs, trees or commits that are part of a If you want to replace many blobs, trees or commits that are part of a
...@@ -148,13 +148,13 @@ pending objects. ...@@ -148,13 +148,13 @@ pending objects.
SEE ALSO SEE ALSO
-------- --------
linkgit:git-hash-object[1] linkgit:git-hash-object[1]
linkgit:git-filter-branch[1]
linkgit:git-rebase[1] linkgit:git-rebase[1]
linkgit:git-tag[1] linkgit:git-tag[1]
linkgit:git-branch[1] linkgit:git-branch[1]
linkgit:git-commit[1] linkgit:git-commit[1]
linkgit:git-var[1] linkgit:git-var[1]
linkgit:git[1] linkgit:git[1]
https://github.com/newren/git-filter-repo[git-filter-repo]
GIT GIT
--- ---
......
...@@ -9,59 +9,7 @@ git-rev-list - Lists commit objects in reverse chronological order ...@@ -9,59 +9,7 @@ git-rev-list - Lists commit objects in reverse chronological order
SYNOPSIS SYNOPSIS
-------- --------
[verse] [verse]
'git rev-list' [ --max-count=<number> ] 'git rev-list' [<options>] <commit>... [[--] <path>...]
[ --skip=<number> ]
[ --max-age=<timestamp> ]
[ --min-age=<timestamp> ]
[ --sparse ]
[ --merges ]
[ --no-merges ]
[ --min-parents=<number> ]
[ --no-min-parents ]
[ --max-parents=<number> ]
[ --no-max-parents ]
[ --first-parent ]
[ --remove-empty ]
[ --full-history ]
[ --not ]
[ --all ]
[ --branches[=<pattern>] ]
[ --tags[=<pattern>] ]
[ --remotes[=<pattern>] ]
[ --glob=<glob-pattern> ]
[ --ignore-missing ]
[ --stdin ]
[ --quiet ]
[ --topo-order ]
[ --parents ]
[ --timestamp ]
[ --left-right ]
[ --left-only ]
[ --right-only ]
[ --cherry-mark ]
[ --cherry-pick ]
[ --encoding=<encoding> ]
[ --(author|committer|grep)=<pattern> ]
[ --regexp-ignore-case | -i ]
[ --extended-regexp | -E ]
[ --fixed-strings | -F ]
[ --date=<format>]
[ [ --objects | --objects-edge | --objects-edge-aggressive ]
[ --unpacked ]
[ --object-names | --no-object-names ]
[ --filter=<filter-spec> [ --filter-print-omitted ] ] ]
[ --missing=<missing-action> ]
[ --pretty | --header ]
[ --bisect ]
[ --bisect-vars ]
[ --bisect-all ]
[ --merge ]
[ --reverse ]
[ --walk-reflogs ]
[ --no-walk ] [ --do-walk ]
[ --count ]
[ --use-bitmap-index ]
<commit>... [ \-- <paths>... ]
DESCRIPTION DESCRIPTION
----------- -----------
......
...@@ -486,11 +486,13 @@ Use gmail as the smtp server ...@@ -486,11 +486,13 @@ Use gmail as the smtp server
To use 'git send-email' to send your patches through the GMail SMTP server, To use 'git send-email' to send your patches through the GMail SMTP server,
edit ~/.gitconfig to specify your account settings: edit ~/.gitconfig to specify your account settings:
[sendemail] ----
smtpEncryption = tls [sendemail]
smtpServer = smtp.gmail.com smtpEncryption = tls
smtpUser = yourname@gmail.com smtpServer = smtp.gmail.com
smtpServerPort = 587 smtpUser = yourname@gmail.com
smtpServerPort = 587
----
If you have multifactor authentication setup on your gmail account, you will If you have multifactor authentication setup on your gmail account, you will
need to generate an app-specific password for use with 'git send-email'. Visit need to generate an app-specific password for use with 'git send-email'. Visit
......
...@@ -87,8 +87,9 @@ The `--patch` option implies `--keep-index`. You can use ...@@ -87,8 +87,9 @@ The `--patch` option implies `--keep-index`. You can use
save [-p|--patch] [-k|--[no-]keep-index] [-u|--include-untracked] [-a|--all] [-q|--quiet] [<message>]:: save [-p|--patch] [-k|--[no-]keep-index] [-u|--include-untracked] [-a|--all] [-q|--quiet] [<message>]::
This option is deprecated in favour of 'git stash push'. It This option is deprecated in favour of 'git stash push'. It
differs from "stash push" in that it cannot take pathspecs, differs from "stash push" in that it cannot take pathspecs.
and any non-option arguments form the message. Instead, all non-option arguments are concatenated to form the stash
message.
list [<options>]:: list [<options>]::
......
...@@ -59,16 +59,17 @@ This is optional and defaults to the original version 'v1' format. ...@@ -59,16 +59,17 @@ This is optional and defaults to the original version 'v1' format.
--untracked-files[=<mode>]:: --untracked-files[=<mode>]::
Show untracked files. Show untracked files.
+ +
--
The mode parameter is used to specify the handling of untracked files. The mode parameter is used to specify the handling of untracked files.
It is optional: it defaults to 'all', and if specified, it must be It is optional: it defaults to 'all', and if specified, it must be
stuck to the option (e.g. `-uno`, but not `-u no`). stuck to the option (e.g. `-uno`, but not `-u no`).
+
The possible options are: The possible options are:
+
- 'no' - Show no untracked files. - 'no' - Show no untracked files.
- 'normal' - Shows untracked files and directories. - 'normal' - Shows untracked files and directories.
- 'all' - Also shows individual files in untracked directories. - 'all' - Also shows individual files in untracked directories.
+
When `-u` option is not used, untracked files and directories are When `-u` option is not used, untracked files and directories are
shown (i.e. the same as specifying `normal`), to help you avoid shown (i.e. the same as specifying `normal`), to help you avoid
forgetting to add newly created files. Because it takes extra work forgetting to add newly created files. Because it takes extra work
...@@ -78,9 +79,10 @@ Consider enabling untracked cache and split index if supported (see ...@@ -78,9 +79,10 @@ Consider enabling untracked cache and split index if supported (see
`git update-index --untracked-cache` and `git update-index `git update-index --untracked-cache` and `git update-index
--split-index`), Otherwise you can use `no` to have `git status` --split-index`), Otherwise you can use `no` to have `git status`
return more quickly without showing untracked files. return more quickly without showing untracked files.
+
The default can be changed using the status.showUntrackedFiles The default can be changed using the status.showUntrackedFiles
configuration variable documented in linkgit:git-config[1]. configuration variable documented in linkgit:git-config[1].
--
--ignore-submodules[=<when>]:: --ignore-submodules[=<when>]::
Ignore changes to submodules when looking for changes. <when> can be Ignore changes to submodules when looking for changes. <when> can be
...@@ -100,11 +102,12 @@ configuration variable documented in linkgit:git-config[1]. ...@@ -100,11 +102,12 @@ configuration variable documented in linkgit:git-config[1].
--ignored[=<mode>]:: --ignored[=<mode>]::
Show ignored files as well. Show ignored files as well.
+ +
--
The mode parameter is used to specify the handling of ignored files. The mode parameter is used to specify the handling of ignored files.
It is optional: it defaults to 'traditional'. It is optional: it defaults to 'traditional'.
+
The possible options are: The possible options are:
+
- 'traditional' - Shows ignored files and directories, unless - 'traditional' - Shows ignored files and directories, unless
--untracked-files=all is specified, in which case --untracked-files=all is specified, in which case
individual files in ignored directories are individual files in ignored directories are
...@@ -112,12 +115,13 @@ The possible options are: ...@@ -112,12 +115,13 @@ The possible options are:
- 'no' - Show no ignored files. - 'no' - Show no ignored files.
- 'matching' - Shows ignored files and directories matching an - 'matching' - Shows ignored files and directories matching an
ignore pattern. ignore pattern.
+
When 'matching' mode is specified, paths that explicitly match an When 'matching' mode is specified, paths that explicitly match an
ignored pattern are shown. If a directory matches an ignore pattern, ignored pattern are shown. If a directory matches an ignore pattern,
then it is shown, but not paths contained in the ignored directory. If then it is shown, but not paths contained in the ignored directory. If
a directory does not match an ignore pattern, but all contents are a directory does not match an ignore pattern, but all contents are
ignored, then the directory is not shown, but all contents are shown. ignored, then the directory is not shown, but all contents are shown.
--
-z:: -z::
Terminate entries with NUL, instead of LF. This implies Terminate entries with NUL, instead of LF. This implies
......
...@@ -173,7 +173,8 @@ submodule with the `--init` option. ...@@ -173,7 +173,8 @@ submodule with the `--init` option.
If `--recursive` is specified, this command will recurse into the If `--recursive` is specified, this command will recurse into the
registered submodules, and update any nested submodules within. registered submodules, and update any nested submodules within.
-- --
set-branch ((-d|--default)|(-b|--branch <branch>)) [--] <path>:: set-branch (-b|--branch) <branch> [--] <path>::
set-branch (-d|--default) [--] <path>::
Sets the default remote tracking branch for the submodule. The Sets the default remote tracking branch for the submodule. The
`--branch` option allows the remote branch to be specified. The `--branch` option allows the remote branch to be specified. The
`--default` option removes the submodule.<name>.branch configuration `--default` option removes the submodule.<name>.branch configuration
......
...@@ -769,11 +769,11 @@ option for (hopefully) obvious reasons. ...@@ -769,11 +769,11 @@ option for (hopefully) obvious reasons.
+ +
This option is NOT recommended as it makes it difficult to track down This option is NOT recommended as it makes it difficult to track down
old references to SVN revision numbers in existing documentation, bug old references to SVN revision numbers in existing documentation, bug
reports and archives. If you plan to eventually migrate from SVN to Git reports, and archives. If you plan to eventually migrate from SVN to
and are certain about dropping SVN history, consider Git and are certain about dropping SVN history, consider
linkgit:git-filter-branch[1] instead. filter-branch also allows https://github.com/newren/git-filter-repo[git-filter-repo] instead.
reformatting of metadata for ease-of-reading and rewriting authorship filter-repo also allows reformatting of metadata for ease-of-reading
info for non-"svn.authorsFile" users. and rewriting authorship info for non-"svn.authorsFile" users.
svn.useSvmProps:: svn.useSvmProps::
svn-remote.<name>.useSvmProps:: svn-remote.<name>.useSvmProps::
......
...@@ -40,20 +40,24 @@ set to `no` at the beginning of them. ...@@ -40,20 +40,24 @@ set to `no` at the beginning of them.
case of a merge conflict. case of a merge conflict.
--ff:: --ff::
When the merge resolves as a fast-forward, only update the branch
pointer, without creating a merge commit. This is the default
behavior.
--no-ff:: --no-ff::
Create a merge commit even when the merge resolves as a
fast-forward. This is the default behaviour when merging an
annotated (and possibly signed) tag that is not stored in
its natural place in 'refs/tags/' hierarchy.
--ff-only:: --ff-only::
Refuse to merge and exit with a non-zero status unless the Specifies how a merge is handled when the merged-in history is
current `HEAD` is already up to date or the merge can be already a descendant of the current history. `--ff` is the
resolved as a fast-forward. default unless merging an annotated (and possibly signed) tag
that is not stored in its natural place in the `refs/tags/`
hierarchy, in which case `--no-ff` is assumed.
+
With `--ff`, when possible resolve the merge as a fast-forward (only
update the branch pointer to match the merged branch; do not create a
merge commit). When not possible (when the merged-in history is not a
descendant of the current history), create a merge commit.
+
With `--no-ff`, create a merge commit in all cases, even when the merge
could instead be resolved as a fast-forward.
+
With `--ff-only`, resolve the merge as a fast-forward when possible.
When not possible, refuse to merge and exit with a non-zero status.
-S[<keyid>]:: -S[<keyid>]::
--gpg-sign[=<keyid>]:: --gpg-sign[=<keyid>]::
...@@ -105,6 +109,10 @@ option can be used to override --squash. ...@@ -105,6 +109,10 @@ option can be used to override --squash.
+ +
With --squash, --commit is not allowed, and will fail. With --squash, --commit is not allowed, and will fail.
--no-verify::
This option bypasses the pre-merge and commit-msg hooks.
See also linkgit:githooks[5].
-s <strategy>:: -s <strategy>::
--strategy=<strategy>:: --strategy=<strategy>::
Use the given merge strategy; can be supplied more than Use the given merge strategy; can be supplied more than
......
...@@ -208,7 +208,7 @@ endif::git-rev-list[] ...@@ -208,7 +208,7 @@ endif::git-rev-list[]
'%GP':: show the fingerprint of the primary key whose subkey was used '%GP':: show the fingerprint of the primary key whose subkey was used
to sign a signed commit to sign a signed commit
'%gD':: reflog selector, e.g., `refs/stash@{1}` or `refs/stash@{2 '%gD':: reflog selector, e.g., `refs/stash@{1}` or `refs/stash@{2
minutes ago`}; the format follows the rules described for the minutes ago}`; the format follows the rules described for the
`-g` option. The portion before the `@` is the refname as `-g` option. The portion before the `@` is the refname as
given on the command line (so `git log -g refs/heads/master` given on the command line (so `git log -g refs/heads/master`
would yield `refs/heads/master@{0}`). would yield `refs/heads/master@{0}`).
......
...@@ -756,6 +756,22 @@ explicitly-given commit or tree. ...@@ -756,6 +756,22 @@ explicitly-given commit or tree.
Note that the form '--filter=sparse:path=<path>' that wants to read Note that the form '--filter=sparse:path=<path>' that wants to read
from an arbitrary path on the filesystem has been dropped for security from an arbitrary path on the filesystem has been dropped for security
reasons. reasons.
+
Multiple '--filter=' flags can be specified to combine filters. Only
objects which are accepted by every filter are included.
+
The form '--filter=combine:<filter1>+<filter2>+...<filterN>' can also be
used to combined several filters, but this is harder than just repeating
the '--filter' flag and is usually not necessary. Filters are joined by
'{plus}' and individual filters are %-encoded (i.e. URL-encoded).
Besides the '{plus}' and '%' characters, the following characters are
reserved and also must be encoded: `~!@#$^&*()[]{}\;",<>?`+&#39;&#96;+
as well as all characters with ASCII code &lt;= `0x20`, which includes
space and newline.
+
Other arbitrary characters can also be encoded. For instance,
'combine:tree:3+blob:none' and 'combine:tree%3A3+blob%3Anone' are
equivalent.
--no-filter:: --no-filter::
Turn off any previous `--filter=` argument. Turn off any previous `--filter=` argument.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment