{"id":47808746,"url":"https://github.com/jhabc1314/git-lazypush","last_synced_at":"2026-04-03T18:00:48.550Z","repository":{"id":118154091,"uuid":"155796311","full_name":"jhabc1314/git-lazypush","owner":"jhabc1314","description":"lazy push branch to origin test branch","archived":false,"fork":false,"pushed_at":"2023-11-01T09:25:36.000Z","size":12,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-11-01T10:28:05.351Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhabc1314.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}},"created_at":"2018-11-02T01:15:36.000Z","updated_at":"2023-11-01T10:28:08.735Z","dependencies_parsed_at":null,"dependency_job_id":"568a281f-f6ab-4beb-b2f3-762dee706b40","html_url":"https://github.com/jhabc1314/git-lazypush","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"purl":"pkg:github/jhabc1314/git-lazypush","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhabc1314%2Fgit-lazypush","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhabc1314%2Fgit-lazypush/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhabc1314%2Fgit-lazypush/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhabc1314%2Fgit-lazypush/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhabc1314","download_url":"https://codeload.github.com/jhabc1314/git-lazypush/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhabc1314%2Fgit-lazypush/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31368156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["git","shell"],"created_at":"2026-04-03T18:00:21.368Z","updated_at":"2026-04-03T18:00:48.529Z","avatar_url":"https://github.com/jhabc1314.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-lazypush\n\nlazy push branch to origin develop branch\n\n## 介绍（Introduction）\n\n1. `git` 懒人提交大法\n\n2. 如果你的提交代码测试流程如下：\n\n    . 创建开发分支 `dev`\n\n    . 狂写一堆 `bug` 后提交 `dev` 分支（`git commit -a -m \"写bug\"`）\n\n    . 切换（`checkout`）到 本地测试分支 `test`（`git checkout test`）\n\n    . 合并开发分支（`git merge dev`）\n\n    . 推送测试分支到远程（`git push origin test`）\n\n3. 如果满足以上开发流程那么你有没有为每次的 `checkout` , `commit` , `push` 感到无聊呢？ \n\n4. 懒人提交正是整合了这些提交步骤，让你可以一个命令完成以上所有步骤的操作\n\n## 使用方法（How To Use）\n\n### Linux Or Mac\n\n1. 克隆本仓库代码到本地仓库 例如本地仓库路径为 `～/git-lazypush`\n\n2. 默认的远程测试分支名称为 `develop`，如需修改可以在项目中添加 `.lazy_git` 文件指定远端的分支名\n\n3. 进入到需要提交的 `git` 项目目录\n\n4. 执行命令 `～/git-lazypush/lazypush.sh head`\n\n5. 按照提示确认是否成功提交仓库代码\n\n```\n可以将 ～/git-lazypush/lazypush.sh 添加为 别名 alias\n例如 alias pp='～/git-lazypush/lazypush.sh'\n这样 pp head 即可提交当前所在分支到远程分支\npp 或者 pp help 可以查看命令帮助\n```\n\n### Windows\n\n1. 确保系统安装了 `git` 并且有 `git bash`，可以右键查看是否有 `git bash here` 命令\n\n2. 进入 `git bash` ， `pwd` 可以查看当前目录所在的路径，默认为 `/c/Users/yourname` ，即C盘Users下你的个人用户目录\n\n3. 在 `bash` 的当前目录下克隆本仓库代码到本地仓库，此时的仓库路径为 `~/git-lazypush/`\n\n4. 添加命令别名，名字可以自己定义 alias pp='~/git-lazypush/lazypush.sh'\n\n5. 默认的远程测试分支名称为 `develop`，如需修改可以在项目中添加 `.lazy_git` 文件指定远端的分支名\n\n6. 进入到需要提交的 `git` 分支目录\n\n7. 执行命令 `pp head` 按提示确认是否提交代码到远程分支即可\n\n8. `pp` 或者 `pp help` 可以查看帮助\n\n## 联系我（Contact Me）\n\n``` \n有任何使用问题欢迎提交 issues\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhabc1314%2Fgit-lazypush","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhabc1314%2Fgit-lazypush","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhabc1314%2Fgit-lazypush/lists"}