{"id":19338836,"url":"https://github.com/fizzygalacticus/git-in-bash-prompt","last_synced_at":"2026-06-09T20:31:04.265Z","repository":{"id":77398149,"uuid":"83478765","full_name":"FizzyGalacticus/git-in-bash-prompt","owner":"FizzyGalacticus","description":"Show git branch and statuses in your bash prompt.","archived":false,"fork":false,"pushed_at":"2017-02-28T21:04:14.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-06T10:11:22.294Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/FizzyGalacticus.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}},"created_at":"2017-02-28T21:02:00.000Z","updated_at":"2017-02-28T21:04:15.000Z","dependencies_parsed_at":"2023-10-26T18:02:36.639Z","dependency_job_id":null,"html_url":"https://github.com/FizzyGalacticus/git-in-bash-prompt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FizzyGalacticus/git-in-bash-prompt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FizzyGalacticus%2Fgit-in-bash-prompt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FizzyGalacticus%2Fgit-in-bash-prompt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FizzyGalacticus%2Fgit-in-bash-prompt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FizzyGalacticus%2Fgit-in-bash-prompt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FizzyGalacticus","download_url":"https://codeload.github.com/FizzyGalacticus/git-in-bash-prompt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FizzyGalacticus%2Fgit-in-bash-prompt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34125332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-10T03:18:51.540Z","updated_at":"2026-06-09T20:31:04.236Z","avatar_url":"https://github.com/FizzyGalacticus.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Show Git Information In Bash Prompt\n\nThe snippet found here in the ```.bashrc``` file, when added to your own, will show the current git branch as well as any statuses available.\n\nWith no statuses:\n```bash\nuser@host:~/path/to/git/repo {bit-branch-name}$\n```\n\nWhen there has been a change to a file:\n```bash\nuser@host:~/path/to/git/repo {bit-branch-name !}$\n```\n\nWhen there are untracked files in the repo:\n```bash\nuser@host:~/path/to/git/repo {bit-branch-name ?}$\n```\n\nWhen there are both changes and untracked files:\n```bash\nuser@host:~/path/to/git/repo {bit-branch-name !?}$\n```\n\nTry it out!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffizzygalacticus%2Fgit-in-bash-prompt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffizzygalacticus%2Fgit-in-bash-prompt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffizzygalacticus%2Fgit-in-bash-prompt/lists"}