mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
* docs: fix symbols in `git rename-branch` man page * Format doc page after others and rebuild artifacts
45 lines
890 B
Groff
45 lines
890 B
Groff
.\" generated with Ronn/v0.7.3
|
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
.
|
|
.TH "GIT\-RENAME\-BRANCH" "1" "September 2025" "" "Git Extras"
|
|
.
|
|
.SH "NAME"
|
|
\fBgit\-rename\-branch\fR \- rename local branch and push to remote
|
|
.
|
|
.SH "SYNOPSIS"
|
|
\fBgit\-rename\-branch\fR <old\-branch> <new\-branch>
|
|
.
|
|
.SH "DESCRIPTION"
|
|
Rename local branch and push the new branch to remote
|
|
.
|
|
.SH "OPTIONS"
|
|
<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\.
|
|
.
|
|
.P
|
|
<new\-branch>
|
|
.
|
|
.P
|
|
New branch name
|
|
.
|
|
.SH "EXAMPLES"
|
|
.
|
|
.nf
|
|
|
|
$ git rename\-branch old\-name new\-name
|
|
|
|
$ git rename\-branch new\-name
|
|
.
|
|
.fi
|
|
.
|
|
.SH "AUTHOR"
|
|
Written by Hozefa Jodiawalla <\fIhozefarules@gmail\.com\fR>
|
|
.
|
|
.SH "REPORTING BUGS"
|
|
<\fIhttps://github\.com/tj/git\-extras/issues\fR>
|
|
.
|
|
.SH "SEE ALSO"
|
|
<\fIhttps://github\.com/tj/git\-extras\fR>
|