Suppose I have a small local repo which I have set up exactly as follows,
following the docs <https://git-scm.com/docs/git-rebase> for rebasing with
Git :
A---B---C topic
/
D---E---F---G master
I tag each commit with its respective letter, D, E or F for example.
I would like to construct a git log command which would provide me with
exactly the log shown above. So it should look like a graph, should show
only the tagged commit, show the commit tag instead of hash sequence and
show the branch name at the tip of each branch.
I was able to build up part of this as follows:
git log --graph --format="%(describe:tags=true)" --all
There are still a couple of issues, namely:
- The graph is not horizontal
- The branch names are not shown at the tips of the branches
Is there anyway to get git log to generate the output I’m looking for? If
not then I’d be curious to know how logs in the official documentation were
generated?
--
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/git-users/5f79e675-ba70-45ff-9a24-b9ea07f9765an%40googlegroups.com.