x20mar
x20mar

Reputation: 489

Merge forked repository with lastest code from master repository

Consider this scenario,

Repository A is the main master repository. Along the way someone decided that a customised version of A was needed for a client, so that was forked off into a separate repository B (this is not a branch).

Repository B had changes made to it but it was then left stagnated while A continued to be developed.

How would I update B with the latest version of A?

Upvotes: 0

Views: 42

Answers (1)

Martin Benninger
Martin Benninger

Reputation: 597

You can pull and rebase the changes from A into B. Then push B to A and merge.

Upvotes: 2

Related Questions