User Tools

Site Tools


docu:csheet:sysadm:script:git:copy_branch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

docu:csheet:sysadm:script:git:copy_branch [2021/11/09 00:29] (current)
admin created
Line 1: Line 1:
 +==== Copy branch from a remote to another remote ====
  
 +\\
 +<code bash>
 +# imagine the branch is "stable-3.4"
 +git checkout -b stable-3.4 upstream/stable-3.4
 +git push origin stable-3.4
 +</code>
docu/csheet/sysadm/script/git/copy_branch.txt · Last modified: 2021/11/09 00:29 by admin