Kong / Kong/insomnia

[WORKAROUND] insomnia-designer: How can I force reset my local repository?

Open
#3,057 12 comments 1 reaction 0 assignees View on GitHub
A-git-sync B-bug
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

I have three remote branches on my insomnia designer repo and am facing https://github.com/Kong/insomnia/issues/2365 when switching between the master branch and any other branch. i.e on switch, the new branch has all the changes from the master branch applied.

I want to be able to do a `git reset --hard` when I checkout to another branch.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the branch-switching behavior in insomnia-designer with the three remote branches described, then compare it with the requested git reset --hard workflow. Done means switching branches no longer carries changes from master and the local repository can be forcibly reset without losing the intended branch state.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.