{"id":19530167,"url":"https://github.com/tpope/girth","last_synced_at":"2025-04-26T12:30:45.997Z","repository":{"id":1388001,"uuid":"1362859","full_name":"tpope/girth","owner":"tpope","description":"Git Interactive Ruby Toolset . . . Hippopotamus?","archived":false,"fork":false,"pushed_at":"2011-08-25T01:59:37.000Z","size":128,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T12:22:05.565Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":false,"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/tpope.png","metadata":{"files":{"readme":"README.rdoc","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":"2011-02-13T20:45:35.000Z","updated_at":"2024-07-25T05:06:35.000Z","dependencies_parsed_at":"2022-07-07T11:03:06.346Z","dependency_job_id":null,"html_url":"https://github.com/tpope/girth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpope%2Fgirth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpope%2Fgirth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpope%2Fgirth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpope%2Fgirth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpope","download_url":"https://codeload.github.com/tpope/girth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250986224,"owners_count":21518466,"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-11-11T01:29:26.006Z","updated_at":"2025-04-26T12:30:45.754Z","avatar_url":"https://github.com/tpope.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Girth\n\nGirth is a Git library for Ruby I started back when there weren't any Git\nlibraries for Ruby and recently named and resurrected.  It's designed to be\nexpressive and natural to use in IRB.  A ridiculous amount of effort was put\ninto making inspect methods provide executable output.  When you call\n\u003ctt\u003erefs.heads.master\u003c/tt\u003e, the inspect includes \u003ctt\u003erefs.heads.master\u003c/tt\u003e\n(and just like in Git, you can shorten that call to just +master+).\n\nA big driver for the creation of this library was exploring the bowels of Git\n(side note: the same could be said of fugitive.vim).  As such, it's biased\ntowards reading rather than writing, though has some support for both.  It\nfeels like a natural choice for writing Git hooks, though I haven't used it\nfor that much, yet.\n\n== git-irb\n\nThis command creates a repository object for your current repository and\nplaces you inside it in an IRB session.\n\n  $ git-irb\n  \u003e\u003e head == refs.heads.master\n  =\u003e true\n  \u003e\u003e head.sha1\n  =\u003e \"0000000000000000000000000000000000000000\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpope%2Fgirth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpope%2Fgirth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpope%2Fgirth/lists"}