Date: Thu, 7 Oct 2021 14:39:44 GMT From: Mateusz Piotrowski <0mp@FreeBSD.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Subject: git: 0c1ab63e13 - main - committers-guide: Improve style of git commands Message-ID: <202110071439.197EdiIx054003@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/doc/commit/?id=0c1ab63e1324abbc61d4559f9755836b04e310cd commit 0c1ab63e1324abbc61d4559f9755836b04e310cd Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2021-10-07 14:38:45 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2021-10-07 14:39:42 +0000 committers-guide: Improve style of git commands Add a space between the -m flag and its arguments. --- documentation/content/en/articles/committers-guide/_index.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/content/en/articles/committers-guide/_index.adoc b/documentation/content/en/articles/committers-guide/_index.adoc index c1a2061c37..231dfebaf7 100644 --- a/documentation/content/en/articles/committers-guide/_index.adoc +++ b/documentation/content/en/articles/committers-guide/_index.adoc @@ -1399,7 +1399,7 @@ package:net/rsync[] is commonly installed, so I'll use that. ... % git diff --staged ... -% git commit -m"Vendor import of NetBSD's mtree at 2020-12-11" +% git commit -m "Vendor import of NetBSD's mtree at 2020-12-11" [vendor/NetBSD/mtree 8e7aa25fcf1] Vendor import of NetBSD's mtree at 2020-12-11 7 files changed, 114 insertions(+), 82 deletions(-) % git tag -a vendor/NetBSD/mtree/20201211 @@ -1534,7 +1534,7 @@ At this point, you should have a pristine copy of glorbnitz ready to commit. [source,shell] .... -% git commit -m"Import GlorbNitz frobnosticator revision 3.1415" +% git commit -m "Import GlorbNitz frobnosticator revision 3.1415" .... As above, I used `-m` for simplicity, but you should likely create a commit message that explains what a Glorb is and why you'd use a Nitz to get it.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110071439.197EdiIx054003>