* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
8 lines
707 B
Markdown
8 lines
707 B
Markdown
# Between Branches
|
|
|
|
When comparing the differences between two branches, such as a feature branch and its upstream parent branch, use `git diff <branch1>..<branch2>`. This command displays the changes made on the feature branch relative to the parent branch. It's useful for reviewing the impact of new features or changes before merging them into your mainline.
|
|
|
|
Visit the following resources to learn more:
|
|
|
|
- [@article@How to compare branches in Git diff](https://scribehow.com/shared/How_to_Compare_Branches_in_GitHub__xsotezV-S1O-GL0PquqJwQ)
|
|
- [@article@How can I see the differences between two branches?](https://stackoverflow.com/questions/9834689/how-can-i-see-the-differences-between-two-branches) |