{"id":15729547,"url":"https://github.com/kt3k/git-push-simple","last_synced_at":"2026-04-28T20:03:54.686Z","repository":{"id":14841320,"uuid":"17564284","full_name":"kt3k/git-push-simple","owner":"kt3k","description":"git push with push.default == simple","archived":false,"fork":false,"pushed_at":"2020-03-20T05:43:25.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T07:45:37.166Z","etag":null,"topics":["git","shell"],"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/kt3k.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}},"created_at":"2014-03-09T12:51:12.000Z","updated_at":"2020-03-20T05:43:27.000Z","dependencies_parsed_at":"2022-07-21T21:47:31.048Z","dependency_job_id":null,"html_url":"https://github.com/kt3k/git-push-simple","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kt3k%2Fgit-push-simple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kt3k%2Fgit-push-simple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kt3k%2Fgit-push-simple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kt3k%2Fgit-push-simple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kt3k","download_url":"https://codeload.github.com/kt3k/git-push-simple/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246407732,"owners_count":20772193,"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":["git","shell"],"created_at":"2024-10-03T23:21:52.004Z","updated_at":"2026-04-28T20:03:49.638Z","avatar_url":"https://github.com/kt3k.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-push-simple\n\n\u003e `git push` with push.default == simple\n\nOne purpose of this command is to prevent [this kind of incident](https://news.ycombinator.com/item?id=6713742).\n\n## Usage\n\nPut the script `git-push-simple` anywhere in your $PATH.\n\nThen:\n\n```\n$ git push-simple\n```\n\nThis performs the command like `git push origin HEAD` if the upstream's branch name is the same as the current branch. This behaviour is the same as `git push` without parameter with `push.default` set to `simple`. (This configuration will be default in Git 2.0).\n\n## :cd: Install\n\n```sh\n# Downdloads script\ncurl https://raw.githubusercontent.com/kt3k/git-push-simple/master/git-push-simple -o git-push-simple\n\n# Make it executable\nchmod 755 git-push-simple\n\n# Move it somewhere in $PATH\nsudo mv git-push-simple /usr/local/bin/\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkt3k%2Fgit-push-simple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkt3k%2Fgit-push-simple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkt3k%2Fgit-push-simple/lists"}