You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In git it is possible to create a new orphaned branch, that has no parent.
git checkout --orphan=unrelated-branch
The commits made on this branch can be later merged with --allow-unrelated-histories
This is also useful when we have two independent repositories with different (ideally non-conflicting) files, that at some point we want to merge into a single one.
Example
I imagine this could be expressed in Mermaid something like:
Proposal
In git it is possible to create a new orphaned branch, that has no parent.
git checkout --orphan=unrelated-branch
The commits made on this branch can be later merged with
--allow-unrelated-histories
This is also useful when we have two independent repositories with different (ideally non-conflicting) files, that at some point we want to merge into a single one.
Example
I imagine this could be expressed in Mermaid something like:
and should render something like this:
Screenshots
No response
The text was updated successfully, but these errors were encountered: