diff --git a/src/services/identity/ReposService.ts b/src/services/identity/ReposService.ts index b77e5d6d1..4c478e8f6 100644 --- a/src/services/identity/ReposService.ts +++ b/src/services/identity/ReposService.ts @@ -245,7 +245,7 @@ export default class ReposService { .checkoutLocalBranch("staging") // Add all the changes - await this.simpleGit.cwd(stgDir).add(".") + await this.simpleGit.cwd({ path: stgDir, root: false }).add(".") // Commit await this.simpleGit