diff --git a/packages/git/src/browser/git-scm-provider.ts b/packages/git/src/browser/git-scm-provider.ts index 0b2a9ce0f5833..9bd1ef446e534 100644 --- a/packages/git/src/browser/git-scm-provider.ts +++ b/packages/git/src/browser/git-scm-provider.ts @@ -319,7 +319,7 @@ export class GitScmProvider implements ScmProvider { try { const { repository, stagedChanges } = this; const uris = stagedChanges.map(c => c.uri); - await this.git.unstage(repository, uris); + await this.git.unstage(repository, uris, { reset: 'index' }); } catch (error) { this.gitErrorHandler.handleError(error); }