Last active
June 1, 2023 15:15
-
-
Save stand-sure/d26757c40bf3508af79afa61ff8aef2b to your computer and use it in GitHub Desktop.
Git graph to HTML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
script -q -c "git --no-pager log --decorate --graph --format='%C(auto,#aa5500) %h %C(auto,#55ff55) (%an %GK %G?) %Creset %s %cr %C(auto,#ffff55) %d' --date=relative --all --remotes=* -n 100" ../graph.txt && \ | |
ansi2html < ../graph.txt > ../graph.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment