git-rename-branch.1 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. '\" t
  2. .\" Title: git-rename-branch
  3. .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
  4. .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
  5. .\" Date: 08/26/2022
  6. .\" Manual: Chromium depot_tools Manual
  7. .\" Source: depot_tools 59e95c91
  8. .\" Language: English
  9. .\"
  10. .TH "GIT\-RENAME\-BRANCH" "1" "08/26/2022" "depot_tools 59e95c91" "Chromium depot_tools Manual"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH "NAME"
  31. git-rename-branch \- Rename a branch and correctly preserve all downstream relationships\&.
  32. .SH "SYNOPSIS"
  33. .sp
  34. .nf
  35. \fIgit rename\-branch\fR <new_name>
  36. \fIgit rename\-branch\fR <old_name> <new_name>
  37. .fi
  38. .sp
  39. .SH "DESCRIPTION"
  40. .sp
  41. Rename the current (or specified) branch, then update all dowstream branches\*(Aq tracking information to preserve inter\-branch dependencies\&.
  42. .SH "SEE ALSO"
  43. .sp
  44. \fBgit-rebase-update\fR(1), \fBgit-reparent-branch\fR(1), \fBgit-new-branch\fR(1), \fBgit-upstream-diff\fR(1)
  45. .SH "CHROMIUM DEPOT_TOOLS"
  46. .sp
  47. Part of the chromium \fBdepot_tools\fR(7) suite\&. These tools are meant to assist with the development of chromium and related projects\&. Download the tools by checking out the \m[blue]\fBgit repository\fR\m[]\&\s-2\u[1]\d\s+2\&.
  48. .SH "NOTES"
  49. .IP " 1." 4
  50. git repository
  51. .RS 4
  52. \%https://chromium.googlesource.com/chromium/tools/depot_tools.git
  53. .RE