meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| git:split_merge_repos [2024/01/13 21:25] – niziak | git:split_merge_repos [2024/01/17 11:48] (current) – niziak | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| Then modify file location of repo BBB to be in desired path and merge it into repo LLL. | Then modify file location of repo BBB to be in desired path and merge it into repo LLL. | ||
| <code bash> | <code bash> | ||
| - | git remote add RRR http:// | ||
| ######### WAY 2 | ######### WAY 2 | ||
| Line 30: | Line 29: | ||
| # now move files from remote repo RRR into correct path: | # now move files from remote repo RRR into correct path: | ||
| mkdir app_RRR | mkdir app_RRR | ||
| - | git checkout -b branch_change_file_location | + | git checkout -b branch_change_file_location |
| + | git mv -k * app_RRR/src | ||
| git mv src app_RRR/src | git mv src app_RRR/src | ||
| + | git mv .gitignore .gitlab-ci.yml .gitmodules app_RRR/src | ||
| + | |||
| git commit -m " | git commit -m " | ||