Back to photostream

Dewan Codes - 136

How to pull from an origin and merger to a different one?

 

To pull from one origin and merge to a different one, you can follow these steps:

1. Start by cloning the repository from the original origin:

2. Change into the cloned repository directory:

3. Add a new remote for the different origin you want to merge into:

4. Fetch the latest changes from both the original and new origins:

5. Create a new branch to track the original origin's branch:

6. Merge the changes from the original branch into the new branch:

7. Push the merged changes to the new origin's branch:

3 views
0 faves
0 comments
Uploaded on September 26, 2023