-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
B-bugBug: general classificationBug: general classificationS-unverifiedStatus: Unverified by maintainerStatus: Unverified by maintainer
Description
Expected Behavior
Discards uncommitted local changes. In turn resetting the branch to its previous commit.
Actual Behavior
It correctly seems to discard any local changes unfortunately insomnia retouches or modifies the files with with what seems like default values.
Reproduction Steps
User1:
- Create new empty git repository in github.
- Using git sync. add the github repository and clone it.
- Create a new request collection named "My Collection"
- Add a new http get request for 'localhost/v1/users' with two headers named 'foo' having 'bar1' & 'bar2' as values respectively.
- Disable one of the foo headers
- Commit and push changes to the main branch
User2:
- Using git sync. add and clone the same github repository.
- Open the Commit changes view
2.1. You may notice that the "My Collection" yaml file has been modified immediately upon clone.
- Press the 'Discard all changes' button
- Confirm by clicking OK in the Undo Changes dialog.
- Open Commit changes view again and notice the branch didn't reset to the previous commit
Is there an existing issue for this?
- I have searched the issue tracker for this problem.
Which sync method do you use?
- Git sync.
- Insomnia Cloud sync.
- Local only
Additional Information
No response
Insomnia Version
11.1.0
What operating system are you using?
Windows
Operating System Version
Windows 11 Enterprise version 10.0.26100 Build 26100
Installation method
.exe download from github
Last Known Working Insomnia version
No response
Metadata
Metadata
Assignees
Labels
B-bugBug: general classificationBug: general classificationS-unverifiedStatus: Unverified by maintainerStatus: Unverified by maintainer