Updating an existing config file without deleting data#5802
Merged
Conversation
# Conflicts: # internal/config/configfile/save.go
tmeijn
pushed a commit
to tmeijn/dotfiles
that referenced
this pull request
Dec 16, 2025
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [git-town/git-town](https://github.com/git-town/git-town) | minor | `v22.2.0` -> `v22.3.0` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>git-town/git-town (git-town/git-town)</summary> ### [`v22.3.0`](https://github.com/git-town/git-town/releases/tag/v22.3.0) [Compare Source](git-town/git-town@v22.2.0...v22.3.0) ##### New Features - All Git Town commands now also show the negated forms of CLI flags in their help output, making it clearer how to disable options ([#​5814](git-town/git-town#5814)). - Added a new [branch-prefix](https://www.git-town.com/preferences/branch-prefix.html) config setting that automatically prepends a prefix to branches created by Git Town ([#​5677](git-town/git-town#5677)). - `git town skip` gained a `--park` flag to permanently skip this branch ([#​5839](git-town/git-town#5839)). - `git town config` now supports a `--redact` flag that obfuscates sensitive configuration data like access tokens, making it safer to share configuration in bug reports ([#​5831](git-town/git-town#5831)). - `git town switch` gained a `--stash` flag to explicitly disable stashing uncommitted changes ([#​5778](git-town/git-town#5778)). - You can now configure which browser Git Town opens via the new [browser](https://www.git-town.com/preferences/browser.html) config setting. Previously this was only configurable through the `BROWSER` environment variable ([#​5818](git-town/git-town#5818)). - A JSON Schema for the Git Town config file is now published on [schemastore.org](https://www.schemastore.org), enabling validation and editor autocompletion ([#​5703](git-town/git-town#5703)). ##### Bug Fixes - Git Town now retries backend Git commands that fail due to concurrent Git usage (for example when your IDE races the CLI) ([#​5816](git-town/git-town#5816)). - The setup assistant no longer deletes advanced configuration when running a quick setup ([#​5802](git-town/git-town#5802)). - The setup assistant now reliably writes all config values to the config file ([#​5803](git-town/git-town#5803)). - `git town sync` now switches to a local branch available in the current worktree before deleting the current branch ([#​5797](git-town/git-town#5797)). - `git town sync` avoids phantom merge conflicts by no longer syncing with tracking branches of ancestors if their local branch is unavailable in the current worktree ([#​5791](git-town/git-town#5791)). - `git town hack --beam` now works correctly with worktrees and branches without an ancestor ([#​5690](git-town/git-town#5690)). - `git town sync --prune` no longer crashes when the current branch has already been shipped at the remote ([#​5704](git-town/git-town#5704)) - `git town walk` now skips branches that aren't available in the current worktree ([#​5714](git-town/git-town#5714)). - `git town propose` now only opens proposals that are still active ([#​5745](git-town/git-town#5745)). - The `share-new-branches` config setting now accepts a wider range of values ([#​5719](git-town/git-town#5719)). ##### Contributors Huge thanks to [@​erik-rw](https://github.com/erik-rw), [@​j2fw](https://github.com/j2fw), [@​james-harlyy](https://github.com/james-harlyy), [@​kevgo](https://github.com/kevgo), [@​lukeramsden](https://github.com/lukeramsden), [@​meowsus](https://github.com/meowsus), [@​ruudk](https://github.com/ruudk), [@​stephenwade](https://github.com/stephenwade), [@​yaadata](https://github.com/yaadata) for contributing code, ideas, and feedback to 130 merged pull requests and 19 resolved issues! </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi40OC4wIiwidXBkYXRlZEluVmVyIjoiNDIuNDguMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Using the setup assistant to update an existing config file no longer drops already configured data.