{"id":24702512,"url":"https://github.com/yankeguo/git-evac","last_synced_at":"2026-05-20T10:04:24.706Z","repository":{"id":59465922,"uuid":"537385598","full_name":"yankeguo/git-evac","owner":"yankeguo","description":"A Git subcommand for emergency evacuation","archived":false,"fork":false,"pushed_at":"2025-01-24T02:49:15.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T03:24:18.296Z","etag":null,"topics":["git","git-subcommand","in-case-of-fire","script","shell-script"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yankeguo.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"yankeguo","patreon":"yankeguo"}},"created_at":"2022-09-16T09:14:04.000Z","updated_at":"2025-01-24T02:46:24.000Z","dependencies_parsed_at":"2024-05-09T03:59:21.253Z","dependency_job_id":null,"html_url":"https://github.com/yankeguo/git-evac","commit_stats":null,"previous_names":["yankeguo/git-evac"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeguo%2Fgit-evac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeguo%2Fgit-evac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeguo%2Fgit-evac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeguo%2Fgit-evac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yankeguo","download_url":"https://codeload.github.com/yankeguo/git-evac/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244905055,"owners_count":20529530,"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","git-subcommand","in-case-of-fire","script","shell-script"],"created_at":"2025-01-27T05:41:28.337Z","updated_at":"2026-05-20T10:04:24.658Z","avatar_url":"https://github.com/yankeguo.png","language":"Shell","funding_links":["https://github.com/sponsors/yankeguo","https://patreon.com/yankeguo"],"categories":[],"sub_categories":[],"readme":"# git-evac\n\n[ZH-中文文档](README.zh.md)\n\nGit subcommand for emergency evacuation\n\n![incaseoffirewrong](img-wrong.png)\n\nIn an emergency, it is unwise to enter `git commit` and `git push` manually, you may need to spend extra effort\n**entering comments** and dealing with any possible **commit conflicts**.\n\nReal programmers won't allow this kind of imprecise approach.\n\nSo I created `git-evac`.\n\n## Requirements\n\n- `git` command\n- `date` command for generating branch name\n- `openssl` command for generating branch name\n\n## Installation\n\n**Automatically**\n\n```shell\ncurl -sSL https://raw.githubusercontent.com/yankeguo/git-evac/main/install.sh | sudo bash -s\n```\n\n**Manual**\n\nGet the script `git-evac.sh` and install it to `PATH` directory, `/usr/local/bin` for example\n\n```shell\ngit clone https://github.com/yankeguo/git-evac.git\ncd git-evac\nchmod +x git-evac.sh\nsudo cp -f git-evac.sh /usr/local/bin/git-evac\n```\n\n## Usage\n\nIn case of fire, you can simply type `git evac` or `git-evac` and leave the building.\n\nIt will help you:\n\n1. Stage all changes\n2. Switch to a new branch\n3. Create commit with comments filled\n4. Push to remote server\n\n## Credits\n\nGUO YANKE, MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyankeguo%2Fgit-evac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyankeguo%2Fgit-evac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyankeguo%2Fgit-evac/lists"}