You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add new command `git:reset-to-remote`
Add command `git:reset-to-remote` and also add it to the main menu.
* Implement logic for `git:reset-to-remote`
`GitExtension.resetToCommit(str)` is re-used because it also does
`git reset --hard`.
* Format using `prettier`
* Update src/commandsAndMenu.tsx
Co-authored-by: Frédéric Collonval <[email protected]>
* Construct a new widget for `git:reset-to-remote`
Construct a widget form which can be used as a `Dialog` body for command
`git:reset-to-remote`.
Also aim to address
/pull/1087#discussion_r824696243
* Use `GitResetToRemoteForm`
Use `GitResetToRemoteForm` for `git:reset-to-remote`.
Also solve
/pull/1087#discussion_r824696243
* Add a test for `git:reset-to-remote`
Add a test to make sure `FileBrowserModel.manager.closeAll()` gets
invoked.
* Format using `prettier`
* Make `GitResetToCommitForm` generic
Refactor `GitResetToCommitForm` and make it a generic `CheckboxForm`.
This should address
/pull/1087#pullrequestreview-910168641.
* Adjust `commands.spec.tsx` to adopt naming changes
It is now `ICheckboxFormValue` instead of `IGitResetToRemoteFormValue`.
* Adopt docstring suggestions
Address /pull/1087#pullrequestreview-911933051
Co-authored-by: Frédéric Collonval <[email protected]>
0 commit comments