{"id":16292796,"url":"https://github.com/scottchiefbaker/perl-git-prompt","last_synced_at":"2025-09-03T01:32:50.655Z","repository":{"id":11705065,"uuid":"14220983","full_name":"scottchiefbaker/perl-git-prompt","owner":"scottchiefbaker","description":"Git extension for the bash prompt","archived":false,"fork":false,"pushed_at":"2025-02-24T03:09:07.000Z","size":41,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-01T11:26:27.096Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"ctfs/write-ups-2016","license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scottchiefbaker.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2013-11-08T01:26:22.000Z","updated_at":"2025-02-24T03:09:09.000Z","dependencies_parsed_at":"2024-10-27T21:44:28.464Z","dependency_job_id":"f4890a24-9acd-432c-84bd-8ca1dbe3ffa1","html_url":"https://github.com/scottchiefbaker/perl-git-prompt","commit_stats":{"total_commits":57,"total_committers":3,"mean_commits":19.0,"dds":"0.22807017543859653","last_synced_commit":"41170b061f313d33cc571f2aa18dff85d19ae512"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/scottchiefbaker/perl-git-prompt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottchiefbaker%2Fperl-git-prompt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottchiefbaker%2Fperl-git-prompt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottchiefbaker%2Fperl-git-prompt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottchiefbaker%2Fperl-git-prompt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scottchiefbaker","download_url":"https://codeload.github.com/scottchiefbaker/perl-git-prompt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottchiefbaker%2Fperl-git-prompt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273377130,"owners_count":25094525,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"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-10-10T20:08:53.765Z","updated_at":"2025-09-03T01:32:50.621Z","avatar_url":"https://github.com/scottchiefbaker.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"perl-git-prompt\n===============\n\nPerl script to show current Git branch and changeset status in the prompt.\n\n## Usage\n\nPut the following in your `~/.bashrc`\n\n~~~bash\n# Add git status to the existing bash prompt\nGIT_PROMPT_PATH=\"$HOME/github/perl-git-prompt/git-prompt.pl\"\nif [[ ! \"$PS1\" =~ \"$GIT_PROMPT_PATH\" ]]; then\n    export PS1=\"\\$($GIT_PROMPT_PATH)\"$PS1\nfi\n~~~\n\nExamples:\n---------\n![Example Prompt](http://www.perturb.org/images/git-prompt-1.png)\n\n* You are on the **vader** branch.\n* Your local repo is **+1** commit ahead of the remote\n* There are **5** files in the staging area\n\n![Example Prompt](http://www.perturb.org/images/git-prompt-2.png)\n\n* You are on the **vader** branch.\n* Your local repo is on the same commit as the remote\n* There are no files in the staging area\n\nNote:\n-----\nThis script assumes you have 256 color terminal support. It's 2013, you\nshould have a 256 color terminal. If you still have a 16 color terminal\nno guarantees how this will look.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottchiefbaker%2Fperl-git-prompt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscottchiefbaker%2Fperl-git-prompt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottchiefbaker%2Fperl-git-prompt/lists"}