Copy Project A to Project B in Github
created:: 2023-09-24T17:25:51
up:: Github
tags:: #🌱 #git #hacks
- If you want to copy project A to project B in different repository, you need to:
- push both of them
- go to project B git repository
- add remote with project A url
- I suggest creating a new branch so it safer to manage conflicts
- git fetch, pull, and merge with:
git pull upstream-smthin newbranch --allow-unrelated-histories
- and resolve conflicts if exists
Related:
Resources
- <% tp.file.cursor(4) %>