This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| docu:csheet:sysadm:script:git:merge_upstream [2021/10/20 07:17] – admin | docu:csheet:sysadm:script:git:merge_upstream [2021/10/20 07:19] (current) – admin | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| <code bash> | <code bash> | ||
| - | # clone your repo (if you didnt yet) | + | # clone your repo (if you didn' |
| git clone https:// | git clone https:// | ||
| cd instante-social | cd instante-social | ||
| Line 12: | Line 12: | ||
| # (a standard way to call it, but you can call it whatever) | # (a standard way to call it, but you can call it whatever) | ||
| git remote add upstream https:// | git remote add upstream https:// | ||
| + | |||
| + | # this previous steps, will only be done ONCE. | ||
| + | # If you already have remotes configured, skip previous steps | ||
| # get all upstream data and pull " | # get all upstream data and pull " | ||