{"id":14128456,"url":"https://github.com/takaaki-kasai/git-foresta","last_synced_at":"2025-08-03T23:30:58.340Z","repository":{"id":41557066,"uuid":"90229278","full_name":"takaaki-kasai/git-foresta","owner":"takaaki-kasai","description":"git-foresta: Text-based git log graph viewer","archived":false,"fork":false,"pushed_at":"2017-05-15T09:23:49.000Z","size":438,"stargazers_count":221,"open_issues_count":7,"forks_count":11,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-08-16T16:22:32.867Z","etag":null,"topics":["git"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/takaaki-kasai.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-04T06:29:54.000Z","updated_at":"2024-06-06T05:13:27.000Z","dependencies_parsed_at":"2022-09-21T11:52:29.287Z","dependency_job_id":null,"html_url":"https://github.com/takaaki-kasai/git-foresta","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takaaki-kasai%2Fgit-foresta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takaaki-kasai%2Fgit-foresta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takaaki-kasai%2Fgit-foresta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takaaki-kasai%2Fgit-foresta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takaaki-kasai","download_url":"https://codeload.github.com/takaaki-kasai/git-foresta/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228571844,"owners_count":17938772,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git"],"created_at":"2024-08-15T16:01:44.603Z","updated_at":"2024-12-07T06:31:17.489Z","avatar_url":"https://github.com/takaaki-kasai.png","language":"Perl","funding_links":[],"categories":["Perl"],"sub_categories":[],"readme":"# git-foresta\n\ngit-foresta is a text-based git log graph viewer.\nIt is a modified version of [git-forest](http://inai.de/projects/hxtools/) (written in Perl by Jan Engelhardt).\n\n## Samples\n\nFollowing image is a result of\n`git-foresta --all --style=10 | less -RSX`\nwith font [Meslo LG](https://github.com/andreberg/Meslo-Font).\n\n![git-foresta sample 1](https://raw.githubusercontent.com/takaaki-kasai/git-foresta/assets/zzz_git-foresta-sample1.png \"git-foresta sample 1\")\n\nFollowing image is a result of\n`git-foresta --all --style=1 --graph-symbol-commit=★ --graph-symbol-tip=☆ --graph-margin-right=2 | less -RSX`\nwith font [Ricty Diminished](https://github.com/edihbrandon/RictyDiminished).\n\n![git-foresta sample 2](https://raw.githubusercontent.com/takaaki-kasai/git-foresta/assets/zzz_git-foresta-sample2.png \"git-foresta sample 2\")\n\nTerminal emulator of sample screenshots: [iTerm2](https://www.iterm2.com/)\nwith [Solarized Dark](https://github.com/altercation/solarized/tree/master/iterm2-colors-solarized) color scheme.\n\n## Usage\n\nThe command `git-foresta` can take same options and arguments as `git log` (except `--pretty` or `--format`).\nIt can take additional options below.\n\n* `--help`: Show help and exit.\n* `--svdepth=\u003cSubvine depth\u003e`: Maximum length of merge subvines (default: `2`).\n* `--no-status`: Do not show the working tree status near HEAD (show by defalt).\n* `--style=\u003cStyle\u003e`: Select `\u003cStyle\u003e` from following.\n  - `1`: Use single-line visuals (default).\n  - `2`: Use double-line visuals.\n  - `10`: Use specific rounded Unicode visuals for edges.\n  - `15`: Use single bold-line visuals.\n* `--graph-margin-left=\u003cMargin\u003e`: Left margin of the commit graph (default: `2`).\n* `--graph-margin-right=\u003cMargin\u003e`: Right margin of the commit graph (default: `1`).\n* `--graph-symbol-commit=\u003cSymbol\u003e`: Graph symbol of commit (default: `●` ).\n* `--graph-symbol-merge=\u003cSymbol\u003e`: Graph symbol of merge (default: `◎` ).\n* `--graph-symbol-overpass=\u003cSymbol\u003e`: Graph symbol of overpass (default: `═` ).\n* `--graph-symbol-root=\u003cSymbol\u003e`: Graph symbol of root (default: `■` ).\n* `--graph-symbol-tip=\u003cSymbol\u003e`: Graph symbol of tip (default: `○` ).\n* `--version` : Print the version number and exit.\n\nAll other options and arguments (except `--pretty` or `--format`) are passed down to git-log. (e.g. `--all`)\n\nSince git-foresta has no pager of is own, it is recommended to use some paging program\nvia pipe with appropriate option (e.g. `git-foresta | less -RSX`).\n\n## Install\n\nCopy the `git-foresta` file (at the root of this repository) to one of the place in your `PATH`,\nand give execute permission to it.\n\nFor example, if you have `~/bin` in your `PATH`, you can install git-foresta by following one-liner:\n\n```\ncurl -L https://github.com/takaaki-kasai/git-foresta/raw/master/git-foresta -o ~/bin/git-foresta \u0026\u0026 chmod +x ~/bin/git-foresta\n```\n\n## Tips\n\n* Without `--no-status` option, current working tree status is shown near HEAD.\n  Meanings of the symbols are as follows:\n  - `*`: There are unstaged changes.\n  - `+`: There are staged changes.\n  - `%`: There are untracked files.\n  - `$`: There are stashed changes.\n\n* Example of shell configuration for zsh:\n  ```zsh\n  function gifo() { git-foresta --style=10 \"$@\" | less -RSX }\n  function gifa() { git-foresta --all --style=10 \"$@\" | less -RSX }\n  compdef _git gifo=git-log\n  compdef _git gifa=git-log\n  ```\n\n## License\n\nGPL-3.0, see `LICENSE`.\n\nCopyright (C) 2008 Jan Engelhardt\u003cbr /\u003e\nCopyright (C) 2017 Takaaki Kasai\u003cbr /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakaaki-kasai%2Fgit-foresta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakaaki-kasai%2Fgit-foresta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakaaki-kasai%2Fgit-foresta/lists"}