This shows you the differences between two versions of the page.
— |
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 " | ||
+ | git checkout -b stable-3.4 upstream/ | ||
+ | git push origin stable-3.4 | ||
+ | </ |