{"id":35519428,"url":"https://github.com/karl-sjogren/karls-gitflow","last_synced_at":"2026-04-01T21:29:06.961Z","repository":{"id":332408410,"uuid":"1114784725","full_name":"karl-sjogren/karls-gitflow","owner":"karl-sjogren","description":"A modern .NET command-line tool for managing Git branches using the Gitflow branching model.","archived":false,"fork":false,"pushed_at":"2026-01-09T15:47:29.000Z","size":172,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"develop","last_synced_at":"2026-01-13T19:43:26.835Z","etag":null,"topics":["dotnet-tool","git","git-flow"],"latest_commit_sha":null,"homepage":"","language":"C#","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/karl-sjogren.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-11T22:05:56.000Z","updated_at":"2026-01-05T07:59:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/karl-sjogren/karls-gitflow","commit_stats":null,"previous_names":["karl-sjogren/karls-gitflow"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/karl-sjogren/karls-gitflow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karl-sjogren%2Fkarls-gitflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karl-sjogren%2Fkarls-gitflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karl-sjogren%2Fkarls-gitflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karl-sjogren%2Fkarls-gitflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karl-sjogren","download_url":"https://codeload.github.com/karl-sjogren/karls-gitflow/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karl-sjogren%2Fkarls-gitflow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28607624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"last_error":"SSL_read: 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":["dotnet-tool","git","git-flow"],"created_at":"2026-01-03T23:16:40.522Z","updated_at":"2026-04-01T21:29:06.948Z","avatar_url":"https://github.com/karl-sjogren.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git flow commands as a global .NET tool [![codecov](https://codecov.io/github/karl-sjogren/karls-gitflow/graph/badge.svg?token=XnSJ1qvn15)](https://codecov.io/github/karl-sjogren/karls-gitflow) [![NuGet Version](https://img.shields.io/nuget/v/Karls.Gitflow.Tool)](https://www.nuget.org/packages/Karls.Gitflow.Tool#readme-body-tab)\n\nA modern .NET command-line tool for managing Git branches using the Gitflow\nbranching model. This tool is a reimplementation of parts of\n[gitflow-avh](https://github.com/petervanderdoes/gitflow-avh). It isn't 100%\ncompatible, but provides similar functionality with some additional features.\n\n## Features\n\n- **Feature branches** - Develop new features in isolation\n- **Bugfix branches** - Fix bugs targeting the develop branch\n- **Release branches** - Prepare releases with version bumps and final fixes\n- **Hotfix branches** - Quick fixes for production issues\n- **Support branches** - Long-term support for older versions\n\n### Supported Operations\n\n| Branch Type | list | start | finish | publish | track | delete |\n|-------------|:----:|:-----:|:------:|:-------:|:-----:|:------:|\n| Feature     |  Y   |   Y   |   Y    |    Y    |   Y   |   Y    |\n| Bugfix      |  Y   |   Y   |   Y    |    Y    |   Y   |   Y    |\n| Release     |  Y   |   Y   |   Y    |    Y    |   Y   |   Y    |\n| Hotfix      |  Y   |   Y   |   Y    |    Y    |   Y   |   Y    |\n| Support     |  Y   |   Y   |   -    |    Y    |   Y   |   Y    |\n\n## Installation\n\n### .NET Global Tool\n\n```bash\ndotnet tool install -g Karls.Gitflow.Tool\n```\n\n### Homebrew (OSX only)\n\n```bash\nbrew install karl-sjogren/tap/karls-gitflow\n```\n\n### Windows\n\nGet the installer from the [latest release](https://github.com/karl-sjogren/karls-gitflow/releases/latest) on Github.\n\n## Usage\n\n### Initialize Gitflow\n\n```bash\n# Interactive initialization\ngit flow init\n\n# Use default settings\ngit flow init -d\n\n# Specify options\ngit flow init --main main --develop develop\n```\n\n### Feature Branches\n\n```bash\n# List all feature branches\ngit flow feature list\n\n# Start a new feature\ngit flow feature start my-feature\n\n# Start a new feature, fetching from origin first\ngit flow feature start my-feature -F\n\n# Finish a feature (merges to develop)\ngit flow feature finish my-feature\n\n# Publish feature to remote\ngit flow feature publish my-feature\n\n# Track a remote feature branch (created by a teammate)\ngit flow feature track my-feature\n\n# Delete a feature branch\ngit flow feature delete my-feature\n```\n\n### Release Branches\n\n```bash\n# Start a release\ngit flow release start 1.0.0\n\n# Start a release, fetching from origin first\ngit flow release start 1.0.0 -F\n\n# Finish a release (merges to main AND develop, creates tag)\ngit flow release finish 1.0.0 -m \"Release 1.0.0\"\n\n# Publish release to remote\ngit flow release publish 1.0.0\n\n# Track a remote release branch\ngit flow release track 1.0.0\n```\n\n### Hotfix Branches\n\n```bash\n# Start a hotfix from main\ngit flow hotfix start 1.0.1\n\n# Start a hotfix, fetching from origin first\ngit flow hotfix start 1.0.1 -F\n\n# Finish a hotfix (merges to main AND develop, creates tag)\ngit flow hotfix finish 1.0.1 -m \"Hotfix 1.0.1\"\n\n# Track a remote hotfix branch\ngit flow hotfix track 1.0.1\n```\n\n### Configuration\n\n```bash\n# List current configuration\ngit flow config list\n\n# Set a configuration value\ngit flow config set feature feat/\n```\n\n## Branch Auto-Detection\n\nWhen on a gitflow branch, you can omit the branch name for finish, publish, and delete commands:\n\n```bash\n# While on feature/my-feature branch\ngit flow feature finish  # Automatically detects \"my-feature\"\n```\n\n## Start Options\n\n| Option | Description |\n|--------|-------------|\n| `-F, --fetch` | Fetch from origin before creating the branch |\n\n## Finish Options\n\n| Option | Description |\n|--------|-------------|\n| `-k, --keep` | Keep both local and remote branch after finishing |\n| `--keeplocal` | Keep local branch but delete remote after finishing |\n| `--keepremote` | Keep remote branch but delete local after finishing |\n| `-F, --fetch` | Fetch from origin before finishing |\n| `-p, --push` | Push to origin after finishing |\n| `-S, --squash` | Squash commits during merge |\n| `-r, --rebase` | Rebase onto target branch before merging (feature/bugfix only) |\n\n### Release/Hotfix Specific Options\n\n| Option | Description |\n|--------|-------------|\n| `-m, --message` | Tag message |\n| `-n, --notag` | Don't create a tag |\n| `-b, --nobackmerge` | Don't merge back to develop |\n\n## Project Structure\n\n```\nsrc/\n  Karls.Gitflow.Core/        # Core library with gitflow logic\n  Karls.Gitflow.Tool/        # CLI application\n\ntest/\n  Karls.Gitflow.Core.Tests/  # Unit tests for core library\n  Karls.Gitflow.Tool.Tests/  # E2E tests for CLI\n  Karls.Gitflow.TestHelpers/ # Shared test utilities\n```\n\n## Building from Source\n\n```bash\n# Build\ndotnet build\n\n# Run tests\ndotnet test\n\n# Run the tool locally\ndotnet run --project src/Karls.Gitflow.Tool -- init -d\n```\n\n## Requirements\n\n- .NET 10 SDK\n- Git installed and available in PATH\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarl-sjogren%2Fkarls-gitflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarl-sjogren%2Fkarls-gitflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarl-sjogren%2Fkarls-gitflow/lists"}