mirror of
https://github.com/git/git.git
synced 2024-12-01 05:54:16 +08:00
f653aee5a3
With --strip-comments (or short -s), git stripspace now removes lines beginning with a '#', too. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
36 lines
597 B
Plaintext
36 lines
597 B
Plaintext
git-stripspace(1)
|
|
=================
|
|
|
|
NAME
|
|
----
|
|
git-stripspace - Filter out empty lines
|
|
|
|
|
|
SYNOPSIS
|
|
--------
|
|
'git-stripspace' [-s | --strip-comments] < <stream>
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
Remove multiple empty lines, and empty lines at beginning and end.
|
|
|
|
OPTIONS
|
|
-------
|
|
-s\|--strip-comments::
|
|
In addition to empty lines, also strip lines starting with '#'.
|
|
|
|
<stream>::
|
|
Byte stream to act on.
|
|
|
|
Author
|
|
------
|
|
Written by Linus Torvalds <torvalds@osdl.org>
|
|
|
|
Documentation
|
|
--------------
|
|
Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
|
|
|
|
GIT
|
|
---
|
|
Part of the gitlink:git[7] suite
|