{"id":18458328,"url":"https://github.com/crazyfactory/gitflow","last_synced_at":"2025-04-23T12:24:13.112Z","repository":{"id":41796144,"uuid":"178136301","full_name":"crazyfactory/gitflow","owner":"crazyfactory","description":"cli for gitflow","archived":false,"fork":false,"pushed_at":"2023-01-03T19:00:33.000Z","size":1332,"stargazers_count":2,"open_issues_count":25,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-02-16T15:30:36.621Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/crazyfactory.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":"2019-03-28T06:00:18.000Z","updated_at":"2019-12-03T06:21:17.000Z","dependencies_parsed_at":"2023-02-01T09:01:33.449Z","dependency_job_id":null,"html_url":"https://github.com/crazyfactory/gitflow","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazyfactory%2Fgitflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazyfactory%2Fgitflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazyfactory%2Fgitflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazyfactory%2Fgitflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crazyfactory","download_url":"https://codeload.github.com/crazyfactory/gitflow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250431791,"owners_count":21429557,"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":[],"created_at":"2024-11-06T08:17:52.520Z","updated_at":"2025-04-23T12:24:13.084Z","avatar_url":"https://github.com/crazyfactory.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gitflow\n\n## Install\n```sh\n$ npm install -g @crazyfactory/gitflow\n```\n\n## Usages\n\n### `$ gitflow alias \u003cname\u003e \u003ccmd\u003e`\nSet `\u003ccmd\u003e` as an alias of `\u003cname\u003e` which you can run as `gitflow \u003cname\u003e`\n\n### `$ gitflow set-config`\nSet `project_name` and `sprint_number` for current path\n  \n### `$ gitflow get-config`\nGet `project_name` and `sprint_number` for current path\n  \n### `$ gitflow generate-token`\nFill in your Github username and password to let Gitflow create personal access token\n\n### `$ gitflow remove-token`\nDelete personal access token locally\n\n### `$ gitflow start-sprint [project] [sprintNum]`\n  - Create new local sprint branch\n  - Branch out from `origin/develop`\n  - Naming convention: `{project_name}/sprint-{sprint_number}`\n  - Push to origin\n\n### `$ gitflow finish-sprint` \n  - Switch to `origin/{project_name}/sprint-{sprint_number}`\n  - Create pull and fill content `Closes #{issue_number}` to `origin/develop` \n  - Switch local to `origin/develop`\n\n### `$ gitflow start-feature [feature-branch]`\n  - Create new local feature branch\n  - If project is maintenance, branch out from `develop`, otherwise branch out from `origin/{project_name}/sprint-{number}`\n  - Naming convention: `{project_name}-sprint-{number}/{issue_number}-{feature_name}`\n  - Push to origin\n\n### `$ gitflow finish-feature`\n  - Push local branch to origin\n  - If project name is maintenance create pull to `develop`, otherwise create pull to `origin/{project_name}/sprint-{sprint_number}`. Then fill content `Closes #{issue_number}`. \n  - Switch local to `origin/{project_name}/sprint-{sprint_number}`\n\n### `$ gitflow start-hotfix [hotfix-branch]`\n  - Create a new local hotfix branch\n  - Branch out from `origin/master`\n  - Naming convention: `{issue_number}-{hotfix_name}`\n  - Push to origin\n\n### `$ gitflow finish-hotfix`\n  - Push local branch to origin\n  - Create pull and fill content `Closes #{issue_number}` to `origin/master`\n  - Switch local branch to `origin/master`\n\n### `$ gitflow soft-push`\n  - Create an empty commit and push it\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazyfactory%2Fgitflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrazyfactory%2Fgitflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazyfactory%2Fgitflow/lists"}