سؤال

I am using git v 1.7.4.msysgit.0 on windows.

I want to print the output of gitK(i mean physically on a paper)

I cant find a print menu there, google doesn't help here too.

هل كانت مفيدة؟

المحلول

As mentioned in "Pretty git branch graphs", gitk has no print function (2009, still true in 2012 as far as I know).

The only solution being to capture part of the gitk window you are interested, but that won't capture all the history displayed by gitk.
Even a non-free Git Windows client like SmartGit doesn't seem to have that feature...

نصائح أخرى

git log --graph --all --decorate

should give you textual representation of your repo. Add --oneline if you want a condensed version.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top