{"id":16439118,"url":"https://github.com/cesarferreira/gito","last_synced_at":"2025-07-09T13:08:21.837Z","repository":{"id":56874457,"uuid":"86869142","full_name":"cesarferreira/gito","owner":"cesarferreira","description":"⚡️ git helper tool to clone/open/auto-install/edit with a one-liner","archived":false,"fork":false,"pushed_at":"2020-10-13T10:27:16.000Z","size":2627,"stargazers_count":26,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T17:40:02.700Z","etag":null,"topics":["carthage","cocoapods","git","gito","golang","gradle","nodejs","python","ruby","swift-package-manager","tool"],"latest_commit_sha":null,"homepage":"","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/cesarferreira.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":"2017-03-31T23:58:12.000Z","updated_at":"2025-02-16T19:30:05.000Z","dependencies_parsed_at":"2022-08-20T22:30:38.049Z","dependency_job_id":null,"html_url":"https://github.com/cesarferreira/gito","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/cesarferreira/gito","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesarferreira%2Fgito","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesarferreira%2Fgito/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesarferreira%2Fgito/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesarferreira%2Fgito/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cesarferreira","download_url":"https://codeload.github.com/cesarferreira/gito/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesarferreira%2Fgito/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264465847,"owners_count":23612580,"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":["carthage","cocoapods","git","gito","golang","gradle","nodejs","python","ruby","swift-package-manager","tool"],"created_at":"2024-10-11T09:08:00.733Z","updated_at":"2025-07-09T13:08:21.819Z","avatar_url":"https://github.com/cesarferreira.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gito\n![](http://ruby-gem-downloads-badge.herokuapp.com/gito?type=total)\n[![Gem Version](https://badge.fury.io/rb/gito.svg)](https://badge.fury.io/rb/gito)\n[![Build Status](https://travis-ci.org/cesarferreira/gito.svg?branch=master)](https://travis-ci.org/cesarferreira/gito)\n[![Code Climate](https://codeclimate.com/github/cesarferreira/gito/badges/gpa.svg)](https://codeclimate.com/github/cesarferreira/gito)\n\ngit helper tool to **clone**/**open**/**auto-install**/**edit** a git project with a one-liner.\n\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"extras/recordit2.gif\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003e \u003cstrong\u003egito\u003c/strong\u003e \u003ci\u003ecesarferreira/dryrun -e\u003c/i\u003e\n\u003c/p\u003e\n\n\n## **Features**\n\n- [x] Quickly clone any git project and changes directory.\n- [x] Can automatically open the folder in `finder` .\n- [x] Can automatically open the project in any editor.\n- [x] Can clone the project into a system temporary folder.\n- [x] Auto detects project type and auto installs dependencies accordingly.\n- [x] The project type detections can be added without releasing a new `gem` version.\n\u003c!-- - [x] Supports macOS. --\u003e\n\n## Usage\n\n🚙  git clones this url: https://github.com/cesarferreira/dryrun\n\n```bash\n$ gito cesarferreira/dryrun\n```\n\n🚕  git clone, install, open and edit the project\n```bash\n$ gito cesarferreira/dryrun --edit --open\n```\n\n🚗 git clone on a operating system /temp/ folder, install, and edit the project\n```bash\n$ gito cesarferreira/dryrun --edit --temp\n```\n\n🚓 set the editor to be 'subl' from now on\n```bash\n$ gito cesarferreira/dryrun -s subl\n```\n\n🚕 git clone, install, open and edit the project from github on a temp folder\n```bash\n$ gito https://github.com/cesarferreira/dryrun -e -o -t\n```\n\n🏎 git clone, install from another git source\n```bash\n$ gito https://bitbucket.org/username/project\n```\n\n## Installation\n\n    $ gem install gito\n\n## Help\n\n```bash\n$ gito -h\nUsage: gito GIT_URL [OPTIONS]\n\nOptions\n    -s, --set-editor EDITOR          Set a custom editor to open the project (e.g. \"atom\", \"subl\", \"vim\", etc.\n    -e, --edit                       Open the project on an editor\n    -o, --open                       Open the project on Finder\n    -d, --dryrun                     Does not install the dependencies\n    -t, --temp                       Clones the project into a temporary folder\n    -k, --keep                       Clones the whole git history and not just the last snapshot\n    -h, --help                       Displays help\n    -v, --version                    Displays the version\n```\n\n\n## Supported type detections/auto-installs\nSo far it auto-installs these types:\n- Ruby\n- Gradle\n- node.js\n- C/C++\n- Elixir\n- Python\n- Go (Govendor, Glide)\n- Cocoapods\n- Carthage\n- Swift Package Manager\n- Rust\n- Haskell\n\nCreate a pull request by editing [detector.json](detector.json) file if you want more types to be added.\n\n## Why?\nA lot of times I find myself wanting to try some code from github and in order to do so I have to copy the git URL, go to the terminal, git clone, find out the folder name, go to the folder and based on the type of project I need to `bundle install`, `./gradlew assemble`, `npm install`, `pip install .`, `mix deps.get`, `make install`, you name it. And after that, opening it in my text editor of choice manually... Not anymore!\n\n## Contributing\nI welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:\n  1. If its a feature, bugfix, or anything please only change code to what you specify.\n  2. Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)\n  3. Pull requests _must_ be made against `develop` branch. Any other branch (unless specified by the maintainers) will get rejected.\n  4. Check for existing [issues](https://github.com/cesarferreira/gito/issues) first, before filing an issue.\n  5. Have fun!\n\n### Created \u0026 Maintained By\n[Cesar Ferreira](https://github.com/cesarferreira) ([@cesarmcferreira](https://www.twitter.com/cesarmcferreira))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesarferreira%2Fgito","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcesarferreira%2Fgito","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesarferreira%2Fgito/lists"}