Documentation / git-commit-script.txton commit [PATCH] Add footnote about Thunderbird about trimming trailing WS. (a698baf)
   1git-commit-script(1)
   2====================
   3v0.99.4, Aug 2005
   4
   5NAME
   6----
   7git-commit-script - Record your changes
   8
   9SYNOPSIS
  10--------
  11'git commit' [-a] [-s] [-v] [(-c | -C) <commit> | -F <file> | -m <msg>] <file>...
  12
  13DESCRIPTION
  14-----------
  15Updates the index file for given paths, or all modified files if
  16'-a' is specified, and makes a commit object.  The command
  17VISUAL and EDITOR environment variables to edit the commit log
  18message.
  19
  20OPTIONS
  21-------
  22-a::
  23        Update all paths in the index file.
  24
  25-c or -C <commit>::
  26        Take existing commit object, and reuse the log message
  27        and the authorship information (including the timestamp)
  28        when creating the commit.  With '-C', the editor is not
  29        invoked; with '-c' the user can further edit the commit
  30        message.
  31
  32-F <file>::
  33        Take the commit message from the given file.  Use '-' to
  34        read the message from the standard input.
  35
  36-m <msg>::
  37        Use the given <msg> as the commit message.
  38
  39-s::
  40        Add Signed-off-by line at the end of the commit message.
  41
  42-v::
  43        Look for suspicious lines the commit introduces, and
  44        abort committing if there is one.  The definition of
  45        'suspicious lines' is currently the lines that has
  46        trailing whitespaces, and the lines whose indentation
  47        has a SP character immediately followed by a TAB
  48        character.
  49
  50<file>...::
  51        Update specified paths in the index file.
  52
  53
  54Author
  55------
  56Written by Linus Torvalds <torvalds@osdl.org> and
  57Junio C Hamano <junkio@cox.net>
  58
  59
  60GIT
  61---
  62Part of the link:git.html[git] suite