{"id":23429107,"url":"https://github.com/thetechnocrat-dev/github-commands","last_synced_at":"2026-02-19T06:02:20.983Z","repository":{"id":95351014,"uuid":"51263659","full_name":"thetechnocrat-dev/github-commands","owner":"thetechnocrat-dev","description":"useful github or git commands that are not common enough to memorize","archived":false,"fork":false,"pushed_at":"2016-06-03T23:25:37.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-14T11:35:02.622Z","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/thetechnocrat-dev.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":"2016-02-07T20:02:47.000Z","updated_at":"2016-02-07T20:02:47.000Z","dependencies_parsed_at":"2023-03-10T06:15:39.971Z","dependency_job_id":null,"html_url":"https://github.com/thetechnocrat-dev/github-commands","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thetechnocrat-dev/github-commands","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thetechnocrat-dev%2Fgithub-commands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thetechnocrat-dev%2Fgithub-commands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thetechnocrat-dev%2Fgithub-commands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thetechnocrat-dev%2Fgithub-commands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thetechnocrat-dev","download_url":"https://codeload.github.com/thetechnocrat-dev/github-commands/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thetechnocrat-dev%2Fgithub-commands/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29604552,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T05:11:50.834Z","status":"ssl_error","status_checked_at":"2026-02-19T05:11:38.921Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-12-23T07:16:45.419Z","updated_at":"2026-02-19T06:02:20.967Z","avatar_url":"https://github.com/thetechnocrat-dev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-commands\nuseful github or git commands that are not common enough to memorize\n\n* Update git authorship (only use on repositories with no other users!, useful if work computer puts incorrect author on commits)\n\ngit filter-branch -f --env-filter \"GIT_AUTHOR_NAME='mcmenemy'; GIT_AUTHOR_EMAIL='mr_mcmenemy@yahoo.com'; GIT_COMMITTER_NAME='mcmenemy'; GIT_COMMITTER_EMAIL='mr_mcmenemy@yahoo.com';\" HEAD\n\n* Push a remote which is not upstream of current branch\n\ngit push --set-upstream \u003corigin\u003e master\n\n* Remove a file from git repository but not local (like if you accidently pushed node modules)\n\ngit rm -r --cached node_modules  \n\ngit commit -m 'remove the now ignored directory node_modules'  (make sure you added folder to .gitignore)  \n    \ngit push\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthetechnocrat-dev%2Fgithub-commands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthetechnocrat-dev%2Fgithub-commands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthetechnocrat-dev%2Fgithub-commands/lists"}