Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ASCII to SVG Git log graph visualizer.

License

NotificationsYou must be signed in to change notification settings

bast/gitink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imageimagePyPI badge

gitink

ASCII to SVG Git log graph visualizer. Useful for teaching Git.Under the hood it useshttps://github.com/bast/ascii2graph.

Example

$cat example.txt                     [feature]                      |                      v               x1-----x2              /c1----c2----m1----c3----c4  \        /            ^   b1----b2----b3       |   ^           ^       [main,HEAD]   |           |  [_branch]   [branch]
$ gitink --in-file=example.txt| display

This produces (display command requiresimagemagick):

git log graph example

Available options

$gitink --helpUsage: gitink [OPTIONS]Options:  --scale FLOAT             Scale sizes by this factor.  --in-file TEXT            ASCII file to convert.  --time-direction INTEGER  Direction of the time arrow (0, 90, 180, or 270).                            Default: 90 (right).  --help                    Show this message and exit.

Installation

$ pip install gitink

How do the colors work?

Coloring is done according to the first character of the commit hash. Othersuggestions welcome.

Other projects that are interesting

About

ASCII to SVG Git log graph visualizer.

Topics

Resources

License

Stars

Watchers

Forks

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp