diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b6fde6..fb54414 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - Adds clipboard support for Linux without requiring any external dependencies — thanks to [PR #394](https://github.com/eamodio/vscode-gitlens/pull/394) by Cédric Malard ([@cmalard](https://github.com/cmalard)) ### Fixed +- Fixes [#400](https://github.com/eamodio/vscode-gitlens/issues/400) - Reset TO commit also resets chosen one - Fixes [#397](https://github.com/eamodio/vscode-gitlens/issues/397) - Error while opening the gitlens view using `Open View` command - Fixes [#391](https://github.com/eamodio/vscode-gitlens/issues/391) - GitLens adds some settings in settings.json - Fixes another case of [#343](https://github.com/eamodio/vscode-gitlens/issues/343) - Can't show blame when VSCode starts on branch without upstream — thanks to [PR #390](https://github.com/eamodio/vscode-gitlens/pull/390) by ryenus ([@ryenus](https://github.com/ryenus)) diff --git a/src/views/explorerCommands.ts b/src/views/explorerCommands.ts index 1ba01a6..60a6965 100644 --- a/src/views/explorerCommands.ts +++ b/src/views/explorerCommands.ts @@ -303,7 +303,7 @@ export class ExplorerCommands extends Disposable { terminalResetCommit(node: ExplorerNode) { if (!(node instanceof CommitNode)) return; - this.sendTerminalCommand('reset', `--soft ${node.ref}^`, node.repoPath); + this.sendTerminalCommand('reset', `--soft ${node.ref}`, node.repoPath); } terminalRevertCommit(node: ExplorerNode) {