On daily routine i use SmartGit
as client of choose. My team members however stick to git native, non commercial GUI. We discovered some differences in how our merge commits looks like.
Those are options that SmartGit
gives when requested to merge branch:
On below graph you can see my example SmartGit graph output, containing:
- single
master
branch - One branch merged to master with
merge commit
option - One branch merged with
simple commit
option
One of branches (with_merge_branch
) is visualizing merge operation by joining branch with master via line. Second one (normal_commit_branch
) does not.
Question is, how to enforce both behaviors in native git commands? I.e. whats the difference between those two commits?
See Question&Answers more detail:os