Skip to content

Updating an existing config file without deleting data#5802

Merged
kevgo merged 14 commits intomainfrom
kg-update-config-file
Nov 22, 2025
Merged

Updating an existing config file without deleting data#5802
kevgo merged 14 commits intomainfrom
kg-update-config-file

Conversation

@kevgo
Copy link
Contributor

@kevgo kevgo commented Nov 22, 2025

Using the setup assistant to update an existing config file no longer drops already configured data.

@kevgo kevgo merged commit a85b378 into main Nov 22, 2025
6 checks passed
@kevgo kevgo deleted the kg-update-config-file branch November 22, 2025 22:25
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 ([#&#8203;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 ([#&#8203;5677](git-town/git-town#5677)).
- `git town skip` gained a `--park` flag to permanently skip this branch ([#&#8203;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 ([#&#8203;5831](git-town/git-town#5831)).
- `git town switch` gained a `--stash` flag to explicitly disable stashing uncommitted changes ([#&#8203;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 ([#&#8203;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 ([#&#8203;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) ([#&#8203;5816](git-town/git-town#5816)).
- The setup assistant no longer deletes advanced configuration when running a quick setup ([#&#8203;5802](git-town/git-town#5802)).
- The setup assistant now reliably writes all config values to the config file ([#&#8203;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 ([#&#8203;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 ([#&#8203;5791](git-town/git-town#5791)).
- `git town hack --beam` now works correctly with worktrees and branches without an ancestor ([#&#8203;5690](git-town/git-town#5690)).
- `git town sync --prune` no longer crashes when the current branch has already been shipped at the remote ([#&#8203;5704](git-town/git-town#5704))
- `git town walk` now skips branches that aren't available in the current worktree ([#&#8203;5714](git-town/git-town#5714)).
- `git town propose` now only opens proposals that are still active ([#&#8203;5745](git-town/git-town#5745)).
- The `share-new-branches` config setting now accepts a wider range of values ([#&#8203;5719](git-town/git-town#5719)).

##### Contributors

Huge thanks to [@&#8203;erik-rw](https://github.com/erik-rw), [@&#8203;j2fw](https://github.com/j2fw), [@&#8203;james-harlyy](https://github.com/james-harlyy), [@&#8203;kevgo](https://github.com/kevgo), [@&#8203;lukeramsden](https://github.com/lukeramsden), [@&#8203;meowsus](https://github.com/meowsus), [@&#8203;ruudk](https://github.com/ruudk), [@&#8203;stephenwade](https://github.com/stephenwade), [@&#8203;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-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments