diff --git a/README.md b/README.md index 993a5410..b743581d 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ Once you've done some work on the first branch within the stack, at some point y - Run `stack branch new`. - Select the stack to create the branch in. - Give the branch a name. +- Select the branch to create the new branch from. The new branch will be created from the branch at the bottom of the stack and the current branch will be changed so you can make more changes. @@ -433,7 +434,7 @@ Options: #### `stack config migrate` -Migrate the configuration file from v1 to v2 format (preview). +Migrate the configuration file from v1 to v2 format. ```shell Usage: diff --git a/src/Stack.Tests/Config/FileStackConfigTests.cs b/src/Stack.Tests/Config/FileStackConfigTests.cs index e22c3ade..0a69ef9e 100644 --- a/src/Stack.Tests/Config/FileStackConfigTests.cs +++ b/src/Stack.Tests/Config/FileStackConfigTests.cs @@ -23,7 +23,7 @@ public void Load_WhenConfigFileDoesNotExist_ReturnsEmptyList() var stackData = fileStackConfig.Load(); // Assert - stackData.Should().BeEquivalentTo(new StackData(SchemaVersion.V1, [])); + stackData.Should().BeEquivalentTo(new StackData(SchemaVersion.V2, [])); } [Fact] diff --git a/src/Stack/Config/StackConfig.cs b/src/Stack/Config/StackConfig.cs index 40a0a41f..16acbc2d 100644 --- a/src/Stack/Config/StackConfig.cs +++ b/src/Stack/Config/StackConfig.cs @@ -35,7 +35,7 @@ public StackData Load() var stacksFile = GetConfigPath(); if (!File.Exists(stacksFile)) { - return new StackData(SchemaVersion.V1, []); + return new StackData(SchemaVersion.V2, []); } var jsonString = File.ReadAllText(stacksFile);