From b57eb8b92a5e58d25f8a2b700edec4e2bab517a4 Mon Sep 17 00:00:00 2001 From: Daniele Paolella <53744340+danpaolella@users.noreply.github.com> Date: Thu, 4 Sep 2025 04:51:48 +0200 Subject: [PATCH] Fix minor typo in `git rename-branch` man page (#1211) * docs: fix symbols in `git rename-branch` man page * Format doc page after others and rebuild artifacts --- man/git-rename-branch.1 | 23 ++++++++--------------- man/git-rename-branch.html | 16 +++++++--------- man/git-rename-branch.md | 10 +++++----- 3 files changed, 20 insertions(+), 29 deletions(-) diff --git a/man/git-rename-branch.1 b/man/git-rename-branch.1 index 8ada6b5..6129b43 100644 --- a/man/git-rename-branch.1 +++ b/man/git-rename-branch.1 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "GIT\-RENAME\-BRANCH" "1" "July 2019" "" "Git Extras" +.TH "GIT\-RENAME\-BRANCH" "1" "September 2025" "" "Git Extras" . .SH "NAME" \fBgit\-rename\-branch\fR \- rename local branch and push to remote @@ -10,26 +10,19 @@ \fBgit\-rename\-branch\fR . .SH "DESCRIPTION" -. -.nf - Rename local branch and push the new branch to remote . -.fi -. .SH "OPTIONS" + . -.nf - -<old\-branch> - +.P Old branch whose has to be renamed\. This is an optional parameter\. If no value is supplied then the current branch will be renamed\. - -<new\-branch> - -New branch name . -.fi +.P + +. +.P +New branch name . .SH "EXAMPLES" . diff --git a/man/git-rename-branch.html b/man/git-rename-branch.html index f757aa4..5e22b78 100644 --- a/man/git-rename-branch.html +++ b/man/git-rename-branch.html @@ -80,19 +80,17 @@

DESCRIPTION

-
Rename local branch and push the new branch to remote
-
+

Rename local branch and push the new branch to remote

OPTIONS

-
&lt;old-branch&gt;
+

<old-branch>

-Old branch whose has to be renamed. This is an optional parameter. If no value is supplied then the current branch will be renamed. +

Old branch whose has to be renamed. This is an optional parameter. If no value is supplied then the current branch will be renamed.

-&lt;new-branch&gt; +

<new-branch>

-New branch name -
+

New branch name

EXAMPLES

@@ -103,7 +101,7 @@ $ git rename-branch new-name

AUTHOR

-

Written by Hozefa Jodiawalla <hozefarules@gmail.com>

+

Written by Hozefa Jodiawalla <hozefarules@gmail.com>

REPORTING BUGS

@@ -116,7 +114,7 @@ $ git rename-branch new-name
  1. -
  2. July 2019
  3. +
  4. September 2025
  5. git-rename-branch(1)
diff --git a/man/git-rename-branch.md b/man/git-rename-branch.md index 69e2d76..a85dbc4 100644 --- a/man/git-rename-branch.md +++ b/man/git-rename-branch.md @@ -7,17 +7,17 @@ git-rename-branch(1) -- rename local branch and push to remote ## DESCRIPTION - Rename local branch and push the new branch to remote + Rename local branch and push the new branch to remote ## OPTIONS - <old-branch> + <old-branch> - Old branch whose has to be renamed. This is an optional parameter. If no value is supplied then the current branch will be renamed. + Old branch whose has to be renamed. This is an optional parameter. If no value is supplied then the current branch will be renamed. - <new-branch> + <new-branch> - New branch name + New branch name ## EXAMPLES