{"id":18657487,"url":"https://github.com/amitanshusahu/ghb","last_synced_at":"2025-04-11T18:31:33.300Z","repository":{"id":168036743,"uuid":"637815198","full_name":"amitanshusahu/ghb","owner":"amitanshusahu","description":"ghb ( gitgub ) is your friendly neighbour to push local repo to github. Automating the repetitive tasks \" add, commit, push, username, token\"","archived":false,"fork":false,"pushed_at":"2023-08-30T07:34:03.000Z","size":12,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T17:07:18.276Z","etag":null,"topics":["automation","bash","github"],"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/amitanshusahu.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":"2023-05-08T13:18:24.000Z","updated_at":"2023-05-12T18:10:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"73219d0d-fb62-4e99-ab72-7f302576ab9e","html_url":"https://github.com/amitanshusahu/ghb","commit_stats":null,"previous_names":["amitanshusahu/ghb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amitanshusahu%2Fghb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amitanshusahu%2Fghb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amitanshusahu%2Fghb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amitanshusahu%2Fghb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amitanshusahu","download_url":"https://codeload.github.com/amitanshusahu/ghb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248458492,"owners_count":21107088,"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","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":["automation","bash","github"],"created_at":"2024-11-07T07:28:36.873Z","updated_at":"2025-04-11T18:31:33.290Z","avatar_url":"https://github.com/amitanshusahu.png","language":"Shell","readme":"\n# 📌 Quick Start\n\nclone the repo\n```bash\ngit clone https://github.com/amitanshusahu/ghb \u0026\u0026 cd ghb\n```\ngive execute permission\n```bash\nchmod 700 ghb\n```\nmake the script available locally \n```bash\nsudo mv ghb /usr/local/bin/\n```\n\n\n# 📌 What does the Script do?\n\n\u003cdiv align=\"center\"\u003e  \n  \u003ch3\u003e A Quick Video (sounds on 🔊) \u003c/h3\u003e\n  \n  https://github.com/amitanshusahu/ghb/assets/83657737/404e6157-e0ed-4f0e-86f8-6317aeb7060d\n  \n\u003c/div\u003e\n\n- __Saves Password (token)__ : you just need to provide it with your username and password once, it will save it and every time you will write `ghb` it will automatically push without asking for credentials\n- __Checks For All The Common Pitfalls__ : \n  - checks if the repo is not initilized, it does it\n  - if the remote is not added, asks for it\n  - if not staged, it does it\n  - if not commited, commits \n  - sometimes in a hurry you push your master branch being in a different branch where you have made the changes, it also checks for this and it will push the current branch you are in to the remote, but there are sometimes you want to push a differnt branch from your master (or any other) whithout doing a `checkout branch`, you can do that too by explicitly typeing the branch name `ghb branch-name`\n- __Save Time__ : so you just need to type `ghb` that's it, even if the repo is not initialized. in that way it saves your time by doing the repetative tasks 😅\n\n\u003e ghb ( gitgub ) is your friendly neighbour to push local repo to github. Automating the repetitive tasks \" add, commit, push, username, token...\". it's simple but useful 👼\n\n\n\u003ch3 align=center\u003e show some love ⭐ the repo \u003c/h2\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famitanshusahu%2Fghb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famitanshusahu%2Fghb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famitanshusahu%2Fghb/lists"}