Skip to content

Git history overwritten when providing link to different repository #1874

@ben-laird

Description

@ben-laird

Context & Background

I wanted to try using Changesets for a personal project of mine, a Deno monorepo. I used the JavaScript API/package provided so that I could programmatically run checks or builds before cutting a release. Because my project was entirely local, during my testing I provided a URL to a different GitHub repository. I later found out that my Git history for the topic branch I was working in and my main branch were overwritten with the history of this other repository.

Expected Behavior

Changesets should only read commits when generating changelogs and analyzing commit messages, and it should not overwrite any local Git history.


Apologies if this isn't much information to go on. If you have any questions, I'd love to answer them and help get to the bottom of this. I'd love to use changesets more often in my projects, but a situation like this really scares me away from using the 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