{"id":16515404,"url":"https://github.com/octonato/oh-my-git","last_synced_at":"2026-05-04T17:35:08.832Z","repository":{"id":46142494,"uuid":"168683214","full_name":"octonato/oh-my-git","owner":"octonato","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-21T09:59:14.000Z","size":118,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-21T11:41:18.915Z","etag":null,"topics":["bash","github","hacking"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/octonato.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-02-01T10:45:54.000Z","updated_at":"2026-04-21T09:59:18.000Z","dependencies_parsed_at":"2022-09-04T06:10:58.818Z","dependency_job_id":null,"html_url":"https://github.com/octonato/oh-my-git","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/octonato/oh-my-git","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octonato%2Foh-my-git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octonato%2Foh-my-git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octonato%2Foh-my-git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octonato%2Foh-my-git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/octonato","download_url":"https://codeload.github.com/octonato/oh-my-git/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octonato%2Foh-my-git/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32618038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bash","github","hacking"],"created_at":"2024-10-11T16:17:01.582Z","updated_at":"2026-05-04T17:35:08.827Z","avatar_url":"https://github.com/octonato.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Oh-my-git\n\nA collection of git scripts that I use to automate my workflow\n\n## Requirements\n\nMost commands requires GitHub's cli, https://cli.github.com.\n\n## Install\n\n### Check out this repo\n\n```bash\ngit clone git@github.com:octonato/oh-my-git.git\n```\n\n* Add the bin folder to your PATH\n* source `git-functions.sh` and `gh-functions.sh`\n* define env variable: `GITHUB_SRC` (eg: GITHUB_SRC=/Users/renato)\n* define env variable: `GITHUB_USER` (eg: GITHUB_USER=octonato)\n* define env variable: `GH_USER_PREFIX` (eg: GH_USER_PREFIX=wip) - optional. This adds a prefix to each new branch.\n\n## Usage\n\nUse `oh-my-git` to print the list of commands, alias, git extensions and git alias provided.\n\n### Folder Structure\n\nSome of the commands provided by `oh-my-git` expect your local clone to follow a certain folder structure:\n\n```\n$GITHUB_SRC\n├── some-github-org\n│   └── fancy-repo\n│       └── master\n├── another-org\n│   ├── repo1\n│   │   └── master\n│   └── repo1\n│       ├── bugfix-branch\n│       └── master\n└── octonato\n    └── oh-my-git\n        ├── master\n        └── more-usage-docs\n\n```\n\n\n### ghp\n\nIf you followed the convention described in [Folder Structure](#Folder-Structure) you can use `ghp \u003cTABx2\u003e` to quickly navigate to a workbranch on your local clones useing autocompletion of the organization, repository and branch names:\n\n```bash\n$ ghp octo\u003cTAB\u003e/oh-\u003cTAB\u003e/ \noctonato/oh-my-git/doc-usage           octonato/oh-my-git/main\noctonato/oh-my-git/more-usage-docs\n```\n\n### git clone-fork\n\nQuickly clone and fork a git repository. \n\n```\ngit clone-fork git@github.com:akka/akka.git\n```\n\n**Note** only the `SSH` protocol (not `HTTPS`) is supported.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctonato%2Foh-my-git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foctonato%2Foh-my-git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctonato%2Foh-my-git/lists"}