Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git tool `tig`: What do those letters in the graph mean?

When I run tig, I see a graph of the branches. It uses letters on those lines to show what happened there:

  • “o” means commit
  • “M“ is a merge
  • “I” is a merge

What is the difference between “M” and “I”?

like image 264
Robert Siemer Avatar asked Jan 09 '23 06:01

Robert Siemer


1 Answers

The I is labelled as initial in tig source code

It seems it marks the initial commit (common ancestor) of a merge. The M marks the merging commit.

like image 193
GHugo Avatar answered Jan 20 '23 23:01

GHugo