Where can I find the gitk source code?

gitk seems to have a very nice interface design and much more. I really want to learn its source code. So where can I find him?

By gitk, I mean one to view the history of the git repository.

+8
source share
3 answers

When you work with Open Source, get it from the mouth of horses - gitk is now part of the git distribution.

http://git-scm.com/download

git clone git://github.com/gitster/git.git 
+3
source

gitk home is in the official git repository at https://github.com/git/git .

It is written in Tcl . Its folder (at the time of writing) is located at https://github.com/git/git/blob/master/gitk-git , which is mainly contained in a single file called gitk .

+3
source

gitk is its own source code because it is written in tcl, and tcl is a scripting language. Just open the /usr/bin/gitk text editor. It seems to be contained in a single file.

0
source

Source: https://habr.com/ru/post/905166/


All Articles