gitk 似乎有非常好的界面设计等等。我真的很想探索它的源代码。那么我在哪里可以找到它呢?
我所说的 gitk 是指查看 git 存储库历史记录的工具。
gitk seems to have very nice interface design and whatnot. I really want to explore its source code. So where can I find it?
By gitk, I mean the one to view the repository history of git.
发布评论
评论(3)
gitk 位于 git 官方存储库 的子文件夹中。
它是用 wish/Tcl。其文件夹(在撰写本文时)可以在 https://github 找到。 com/git/git/blob/master/gitk-git,主要包含在名为
gitk
。gitk lives in a subfolder of git's official repository.
It's written in wish/Tcl. Its folder (at time of writing) can be found at https://github.com/git/git/blob/master/gitk-git, mostly contained in a single file called
gitk
.当处理开源时,从马口中获取它 - gitk 现在是 git 发行版的一部分。
http://git-scm.com/download
When dealing with Open Source get it from the horses mouth - gitk is now part of the git distribution.
http://git-scm.com/download
gitk 是它自己的源代码,因为它是用 tcl 编写的,而 tcl 是一种脚本语言。只需使用您选择的文本编辑器打开
/usr/bin/gitk
即可。它似乎包含在一个文件中。gitk is its own source code, since it is written in tcl and tcl is a scripting language. Just open
/usr/bin/gitk
with the text editor of your choice. It seems to be contained in a single file.