Skip to content

Incorrectly detected package changes due to outdated main branch #1499

@davoskanyan

Description

@davoskanyan

Affected Packages

pkg:git

Suggestion

This is not an issue, just a suggestion to improve the documentation.

I encountered a situation where the changeset add or changeset status commands were showing all packages as changed, even though no actual changes had been made. After debugging, I discovered the issue was related to my git workflow. I typically don't update my main branch directly. Instead, I do the following:

git fetch
git checkout origin/main
git checkout -b my-new-branch

After fast-forwarding my main branch, the problem was resolved. I suggest adding a note about this behavior in the documentation. Additionally, configuring baseBranch: origin/main instead of main in the config.json file seems to work as a workaround.

Thank you for creating such a great tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions