general:git
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| general:git [2021/12/20 09:27] – sunkan | general:git [2023/01/30 08:53] (current) – sunkan | ||
|---|---|---|---|
| Line 66: | Line 66: | ||
| cat " | cat " | ||
| ) | ) | ||
| + | </ | ||
| + | |||
| + | ====== Update intermediary bare repo ====== | ||
| + | Found some good info here. \\ | ||
| + | [[https:// | ||
| + | |||
| + | First fetch from the upstream server | ||
| + | < | ||
| + | git fetch | ||
| + | </ | ||
| + | |||
| + | Then you need to update any branches that you want to expose to the downstream repositories. \\ | ||
| + | Examples for master, 13.0 and all remote branches. \\ | ||
| + | Avoid *:* if upstream repo is very big and you want to limit the branches used by downstream repositories. | ||
| + | < | ||
| + | git fetch origin master: | ||
| + | git fetch origin 13.0:13.0 | ||
| + | git fetch origin ' | ||
| </ | </ | ||
general/git.1639992438.txt.gz · Last modified: 2021/12/20 09:27 by sunkan