{"id":21806629,"url":"https://github.com/czarpino/git-branch-prompt","last_synced_at":"2026-04-16T11:33:59.980Z","repository":{"id":70723199,"uuid":"110719037","full_name":"czarpino/git-branch-prompt","owner":"czarpino","description":"Show current git branch in bash shell prompt","archived":false,"fork":false,"pushed_at":"2018-07-23T14:55:31.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-31T15:44:42.280Z","etag":null,"topics":["bash","git"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/czarpino.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-11-14T16:56:49.000Z","updated_at":"2018-07-23T14:55:33.000Z","dependencies_parsed_at":"2023-02-22T13:31:12.873Z","dependency_job_id":null,"html_url":"https://github.com/czarpino/git-branch-prompt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/czarpino/git-branch-prompt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czarpino%2Fgit-branch-prompt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czarpino%2Fgit-branch-prompt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czarpino%2Fgit-branch-prompt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czarpino%2Fgit-branch-prompt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/czarpino","download_url":"https://codeload.github.com/czarpino/git-branch-prompt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czarpino%2Fgit-branch-prompt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31883933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T09:23:21.276Z","status":"ssl_error","status_checked_at":"2026-04-16T09:23:15.028Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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","git"],"created_at":"2024-11-27T12:28:42.546Z","updated_at":"2026-04-16T11:33:59.953Z","avatar_url":"https://github.com/czarpino.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Update\n\n\u003e Project abandoned due to pointlessness and embarassment. Kept here for posterity.\n\n# Git Branch Prompt\n\nShow current git branch in bash prompt with a thought on performance. Approach is based on basic `git rev-parse` so on a well spec'ed computer optimizations employed here would be completely unnoticeable. For those who do find it noticeable, this is a slightly faster alternative.\n\n## How to\n\n1. Clone the project into `~/.bash`\n\n        mkdir ~/.bash\n        cd ~/.bash\n        git clone git@github.com:czarpino/git-branch-prompt.git\n\n2. Edit `~/.bash_profile`\n\n        source ~/.bash/git-branch-prompt/main.sh\n\t\texport PS1=\"\\W \\[\\e[0;36m\\]\\$git_branch\\[\\e[0m\\]\\$ \"\n\n3. Open a new terminal or execute `source ~/.bash_profile` for the changes to take effect\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fczarpino%2Fgit-branch-prompt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fczarpino%2Fgit-branch-prompt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fczarpino%2Fgit-branch-prompt/lists"}