[ Web Proxy ]
URL:
Viewing: https://git-scm.com/docs/git-commit-tree/ru [Back]  [Original]

Git - git-commit-tree Documentation
Git [Git]
Type / to search entire site:
dark-mode.svg [dark-mode.svg]
Topics Latest version git-commit-tree last updated in 2.55.0

git-commit-tree

git commit-tree <> [(-p <>)…​]
git commit-tree [(-p <>)…​] [-S[<id->]] [(-m <>)…​]
		  [(-F <>)…​] <>

, . . git-commit[1].

id stdout. , -m -F.

-m -F , . , .

. . . () .

, "" , .

"HEAD", Git , , , .git/HEAD, , .

<tree>

.

-p <>

-p id .

-m <>

. , <> .

-F <>

. - . , .

-S[<id->]
--gpg-sign[=<id->]
--no-gpg-sign

GPG. keyid ; , . --no-gpg-sign --gpg-sign, .

:

  • id

  • ,

  • , .

stdin. "<", git commit-tree , ^D.

GIT_AUTHOR_DATE GIT_COMMITTER_DATE :

Git

<unix-timestamp> <time-zone-offset>, <unix-timestamp> , UNIX (00:00:00 UTC 1 1970 ). <time-zone-offset> UTC. , CET ( 1 UTC) +0100.

RFC 2822

, RFC 2822, , Thu, 07 Apr 2005 22:13:13 +0200.

ISO 8601

, ISO 8601, , 2005-04-07T22:13:13'. `. , ‘2005-04-07T22:13:13.019’ ‘2005-04-07T22:13:13’.

Note
, : .., // ...

Git .

  • blob- , . Git .

  • UTF-8 C. -, , , , (.git/config (. git-config[1]), gitignore[5], gitattributes[5] gitmodules[5]).

    , Git , ( Mac Windows). , , -ASCII , , ASCII-. , , UTF-8 (, Linux, Mac, Windows) . , , Git, , UTF-8, .

  • , , UTF-8, ASCII- , : ISO-8859-x, CP125x , UTF-16/32, EBCDIC CJK (GBK, Shift-JIS, Big5, EUC-x, CP9xx ..).

, UTF-8 , Git, , UTF-8 . , Git . , .

  1. git commit git commit-tree , UTF-8, , . , i18n.commitEncoding .git/config, :

    [i18n]
    	commitEncoding = ISO-8859-1

    -, , i18n.commitEncoding encoding. , . , UTF-8.

  2. git log, git show, git blame encoding -, UTF-8, . i18n.logOutputEncoding .git/config, :

    [i18n]
    	logOutputEncoding = ISO-8859-1

    , i18n.commitEncoding.

, (.. UTF-8 -), UTF-8 .

/etc/mailname

GIT

About this site
Patches, suggestions, and comments are welcome.
Git is a member of Software Freedom Conservancy

Web Proxy Viewer  |  New URL  |  Original Page