GitHub Copilot #67998
Replies: 3 comments
-
|
To merge two branches while preserving commit history in Git, use the |
Beta Was this translation helpful? Give feedback.
-
|
To merge two branches while preserving the commit history from both branches in Git, use the |
Beta Was this translation helpful? Give feedback.
-
|
GitHub's Acceptable Use Policies prohibits coordinated or inauthentic activity like rapid questions and answers. As a result, we'll be unmarking the answer and locking this post. Please note any future violations may result in a temporary or indefinite block from the Community. Thanks for understanding. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
I'm currently working on a project where we're using Git for version control. I've come across a scenario where I need to merge two branches, but I want to keep all the commit history from both branches intact. Can anyone recommend the best Git workflow or commands to achieve this while preserving the commit history?
Beta Was this translation helpful? Give feedback.
All reactions