|
@ -348,7 +348,7 @@ export class Git { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
static stash_push(repoPath: string, pathspecs: string[], message?: string) { |
|
|
static stash_push(repoPath: string, pathspecs: string[], message?: string) { |
|
|
const params = [`stash`, `push`]; |
|
|
|
|
|
|
|
|
const params = [`stash`, `push`, `-u`]; |
|
|
if (message) { |
|
|
if (message) { |
|
|
params.push(`-m`); |
|
|
params.push(`-m`); |
|
|
params.push(message); |
|
|
params.push(message); |
|
@ -358,7 +358,7 @@ export class Git { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
static stash_save(repoPath: string, message?: string) { |
|
|
static stash_save(repoPath: string, message?: string) { |
|
|
const params = [`stash`, `save`, `--include-untracked`]; |
|
|
|
|
|
|
|
|
const params = [`stash`, `save`, `-u`]; |
|
|
if (message) { |
|
|
if (message) { |
|
|
params.push(message); |
|
|
params.push(message); |
|
|
} |
|
|
} |
|
|