Horje
copy code from one repo to another git Code Example
copy code from one repo to another git
# checkout repository A
git checkout git@github.com:username/repoA.git
# cd into old repository
cd repoA
# change remote origin to the newely created repo (exemple repoB)
git remote set-url origin git@github.com:username/repoB.git
# push branch into repoB
git push origin <branch>
# cd into new repository and pull branch
git checkout origin <branch>
# finally don't forget to reset origin for repoA
git remote set-url origin git@github.com:username/repoA.git




Shell

Related
list inactive services ubuntu Code Example list inactive services ubuntu Code Example
start new git repo from project Code Example start new git repo from project Code Example
libc-bin error Code Example libc-bin error Code Example
Error: `@cucumber/cucumber` module not resolvable. Must be locally installed. Code Example Error: `@cucumber/cucumber` module not resolvable. Must be locally installed. Code Example
Package signatures do not match previously installed version; ignoring! Code Example Package signatures do not match previously installed version; ignoring! Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11