 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package cleanup This option determines how the supplied commit message should be cleaned up before committing. The <mode> can be strip, whitespace, verbatim, scissors or default.
--cleanup=<mode>
Index ¶
Constants ¶
      View Source
      
  
const ( // Strip leading and trailing empty lines, trailing whitespace, commentary and collapse consecutive empty lines. Strip = "strip" // Whitespace Same as strip except #commentary is not removed. Whitespace = "whitespace" // Verbatim Do not change the message at all. Verbatim = "verbatim" // Scissors Same as whitespace, except that everything from (and including) the line "# ------------------------ >8 ------------------------" is truncated if the message is to be edited. "#" can be customized with core.commentChar. Scissors = "scissors" // Default Same as strip if the message is to be edited. Otherwise whitespace. Default = "default" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.