Replies: 1 comment 1 reply
-
Yep, that looks about right. I didn't make a command which deletes data since I hadn't needed it and I worried about deleting important data, but it probably makes sense to create one at this point. Feel free to open a pull request 😄.
You can also try |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I got git-branchless into a weird state (unfortunately, it seems different to reproduce), and I was looking for a way to reinitialize it from a clean slate. It turns out that
git-branchless init --uninstall
only deletes the git-branchless configuration added to the git repository, but not its data.Firstly, I think this would be a nice feature - there should be an option to
git-branchless init --uninstall --wipe-data
, both for people who change their mind about using git-branchless and for people who want to start afresh. The documentation should mention that you should add a branch to any commit chains you want to keep before doing this.Secondly, I came up with a command to do this that I wanted to share. I think that wipes everything, right?
Beta Was this translation helpful? Give feedback.
All reactions