{"id":13558192,"url":"https://github.com/jduan/git-dag","last_synced_at":"2025-04-12T19:53:02.183Z","repository":{"id":4189061,"uuid":"5307069","full_name":"jduan/git-dag","owner":"jduan","description":"A ruby script that generates a 'dot' file (Git DAG tree) for a given Git repository.","archived":false,"fork":false,"pushed_at":"2012-11-13T15:41:16.000Z","size":120,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T19:52:56.302Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jduan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-08-05T21:20:56.000Z","updated_at":"2017-08-05T19:31:08.000Z","dependencies_parsed_at":"2022-08-02T18:00:40.681Z","dependency_job_id":null,"html_url":"https://github.com/jduan/git-dag","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jduan%2Fgit-dag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jduan%2Fgit-dag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jduan%2Fgit-dag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jduan%2Fgit-dag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jduan","download_url":"https://codeload.github.com/jduan/git-dag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625509,"owners_count":21135513,"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":[],"created_at":"2024-08-01T12:04:48.172Z","updated_at":"2025-04-12T19:53:02.153Z","avatar_url":"https://github.com/jduan.png","language":"Ruby","readme":"## git-dag\n\ngit-dag is a ruby script that generates a DAG tree (in the 'dot' format) for a\ngiven Git repository.\n\n## Preprequisite\nYou need to have Ruby installed. Try [RVM](https://rvm.io) or\n[rbenv](http://rbenv.org) if you don't have one installed.\n\nYou need to have [Graphviz](http://graphviz.org/) installed if you want\nto render the DAG visually. You can install it using the package manager\nprovided by your OS.\n\nFor instance, if you use Mac OS X and have homebrew installed, you can do:\n\n    $ brew install graphviz\n\n## Install\nEasy install with RubyGems:\n\n    $ gem install git-dag\n\n## Usage\nTo generate a DAG (in the format 'dot') for a Git repository, do\n\n    $ git-dag \u003cpath_to_git_repo\u003e \u003e history.dot\n\nUse to 'dot' to draw the DAG:\n\n    $ dot -Tsvg history.dot -o history.svg\n\nYou can pipe the 2 commands together:\n\n    $ git-dag \u003cpath_to_git_repo\u003e | dot -Tsvg -o history.svg\n\nNote that if it take a good amount of time if your repository has a long history\nof commits.\n\nNow you can open up 'history.svg' in your browser to see the DAG.\n\nGraphviz supports a lot of other formats, such as jpg, pdf, png, ps2 etc. Please\nsee [Graphviz](http://graphviz.org/) for more info.\n","funding_links":[],"categories":["Ruby","others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjduan%2Fgit-dag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjduan%2Fgit-dag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjduan%2Fgit-dag/lists"}