gitk

Guide to understanding gitk? [closed]

本小妞迷上赌 提交于 2019-11-27 09:01:51
问题 I am introducing git to a team of developers and i find gitk to be an amazing tool. It's also quite hard to understand, since understanding gitk requires an understanding of both git history and the viewer tool itself. Does anyone have any good references to something like a "beginner's guide to git history with gitk" ? 回答1: I've never seen anything specifically for gitk. Here's a stab at it, from a "how does it work" point of view. Knowing the commands that are behind everything (or at least

Viewing full version tree in git

妖精的绣舞 提交于 2019-11-27 05:53:17
I am using the command line version of Git and gitk. I want to see the full version tree, not just the part that is reachable from the currently checked out version. Is it possible? You can try the following: gitk --all You can tell gitk what to display using anything that git rev-list understands , so if you just want a few branches, you can do: gitk master origin/master origin/experiment ... or more exotic things like: gitk --simplify-by-decoration --all knittl if you happen to not have a graphical interface available you can also print out the commit graph on the command line: git log -

Difference between author and committer in Git?

笑着哭i 提交于 2019-11-26 00:36:20
问题 I am trying to make a commit like git commit --author=\"John Doe <john@doe.com>\" -m \"<the usual commit message>\" where John Doe is some user in whose name I want to make the commit. It appears all right in git log . However, when I do a gitk , the author name is correct, but the committer name is picked from my global git config settings (and is thus set to my name/email). Questions What is the difference between the two (committer vs author)? Should I be setting the committer as well to