{"id":23065834,"url":"https://github.com/ullaskunder3/git-autocomplete","last_synced_at":"2026-02-07T03:31:24.191Z","repository":{"id":153852838,"uuid":"345684139","full_name":"ullaskunder3/git-autocomplete","owner":"ullaskunder3","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-08T14:32:54.000Z","size":0,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-26T23:14:52.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/ullaskunder3.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":"2021-03-08T14:29:10.000Z","updated_at":"2022-01-29T07:00:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"adcca37c-0c89-44a2-afb1-962c625c7af8","html_url":"https://github.com/ullaskunder3/git-autocomplete","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ullaskunder3/git-autocomplete","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2Fgit-autocomplete","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2Fgit-autocomplete/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2Fgit-autocomplete/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2Fgit-autocomplete/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ullaskunder3","download_url":"https://codeload.github.com/ullaskunder3/git-autocomplete/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2Fgit-autocomplete/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29185344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T00:44:15.062Z","status":"online","status_checked_at":"2026-02-07T02:00:07.217Z","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-12-16T05:10:12.858Z","updated_at":"2026-02-07T03:31:24.170Z","avatar_url":"https://github.com/ullaskunder3.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## To setup autocomplete:\n-----------*1st Method: worked for me*-------------------\n \n1. Install Git and bash-completion: \n```bash\nsudo apt-get install git bash-completion\n```\ncheck your git version `git --version`\n\n2. To set your name and id\n```bash\ngit config --global user.name \"your name\"\ngit config --global user.email \"user@id.com\"\n```\n3. restart your bash (new one)\n\n## To Test git autocomplete\n*try `git flow ` TAB shows the files under bash Or*\n```bash\ngit chekcout master\n```\nthis will show:\n```bash\ngit: 'chekcout' is not a git command. See 'git --help'.\n\nThe most similar command is\n        checkout\n```\n\n***That's it***\n\n--------------------------*2nd method :(*-----------------------------\n## To setup autocomplete:\n\n- Install git `sudo apt-get install git`\n- Enter the command it terminal\n```bash\nwget https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash\n``` \n- No matter how you acquired the script, you need to rename the file to start with a period. You can do this in the terminal with this command:\n```bash\nmv git-completion.bash .git-completion.bash\n```\nNow that we have the file in your home directory with the correct filename, you need to edit either the .bash_profile or .bashrc file found also in your home directory to use the extension. Let’s use the Nano file editor to make the changes assuming you have a .bash_profile file there.\n```bash\nnano .bash_profile\n```\nIn the editor window type in this code at the end of the file:\n```\nif [ -f ~/.git-completion.bash ]; then\n   source ~/.git-completion.bash\nfi\n```\n## Apply the changes\nThe script will work for all new terminal tabs (or windows), to have it running right away you need to execute it:\n```bash\nsource ~/.bash_profile\n```\n*save it \u0026 exit*\n\n## To Test git autocomplete\nIn new bash try `git flow ` then TAB\nOr try\n```bash\ngit chekcout master\n```\nthis will show\n```\ngit: 'chekcout' is not a git command. See 'git --help'.\n\nThe most similar command is\n        checkout\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fullaskunder3%2Fgit-autocomplete","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fullaskunder3%2Fgit-autocomplete","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fullaskunder3%2Fgit-autocomplete/lists"}