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
Add support for comparing changes between topic branches and their parent branches, extending the functionality from git-flow-avh's feature-only diff to all topic branch types.
Implement the git flow <topic> diff command for showing changes in a topic branch that aren't in the parent branch:
git flow feature diff - Compare feature branch to develop
git flow release diff - Compare release branch to develop
git flow hotfix diff - Compare hotfix branch to master/main
The command should:
Determine the appropriate parent branch based on topic type
Show all changes in the topic branch that aren't in the parent branch
Support optional branch name parameter or use current branch if not specified
Command syntax:
git flow <topic> diff [-h] [<name|nameprefix>]
Implement the following options:
-h,--help/--no-help - Show help information
--showcommands - Display git commands as they are executed
Error handling:
Check if specified branch exists and is a valid topic branch
Handle name prefix matching for partial branch names
Add comprehensive documentation for this command
Add tests to verify the command works correctly for all branch types
The text was updated successfully, but these errors were encountered:
git-flow-avh only supports this for feature branches, but it makes sense for all branches that have a parent.
git flow feature diff - Show all changes of the feature branch
Description
Show all changes in <name> that are not in <develop>
Synopsis
git flow feature diff [-h] [<name|nameprefix>]
Options
-h,--[no]help
show this help
--showcommands
Show git commands while executing them
alexrinass
changed the title
Add “diff“ command for all branches
Add diff command for all branches
Apr 19, 2025
Uh oh!
There was an error while loading. Please reload this page.
Add support for comparing changes between topic branches and their parent branches, extending the functionality from git-flow-avh's feature-only diff to all topic branch types.
git flow <topic> diff
command for showing changes in a topic branch that aren't in the parent branch:git flow feature diff
- Compare feature branch to developgit flow release diff
- Compare release branch to developgit flow hotfix diff
- Compare hotfix branch to master/main-h,--help/--no-help
- Show help information--showcommands
- Display git commands as they are executedThe text was updated successfully, but these errors were encountered: