git stash not working in an IntelliJ PowerShell, why is that?
up vote
1
down vote
favorite
I installed git using scoop and generally it seems to be working fine, but I run into an odd situation. When I try to stash changes in a PowerShell console inside IntelliJ (PyCharm actually), I get this error:
> git stash
fatal: could not exec C:/Users/pupeno/scoop/apps/git/current/mingw64/libexec/git-core/git-legacy-stash: No such file or directory
Indeed that file doesn't exist; but running git stash on a standalone PowerShell works. Any idea why this might be?
The way I configure PowerShell to be my terminal is like this:
and this is what the error looks like:
git powershell intellij-idea pycharm
add a comment |
up vote
1
down vote
favorite
I installed git using scoop and generally it seems to be working fine, but I run into an odd situation. When I try to stash changes in a PowerShell console inside IntelliJ (PyCharm actually), I get this error:
> git stash
fatal: could not exec C:/Users/pupeno/scoop/apps/git/current/mingw64/libexec/git-core/git-legacy-stash: No such file or directory
Indeed that file doesn't exist; but running git stash on a standalone PowerShell works. Any idea why this might be?
The way I configure PowerShell to be my terminal is like this:
and this is what the error looks like:
git powershell intellij-idea pycharm
When I try to stash changes in a PowerShell console inside IntelliJ
how did you open the ps console?
– Andrey
Nov 11 at 8:31
@Andrey: I set the terminal in IntelliJ to be powershell.exe and then open a Terminal. I'll add this detail to the question.
– pupeno
Nov 11 at 12:44
I have the same problem. I can run stash commands in standalone cmd but not in PyCharm. Have you already found a solution ?
– Aram810
yesterday
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I installed git using scoop and generally it seems to be working fine, but I run into an odd situation. When I try to stash changes in a PowerShell console inside IntelliJ (PyCharm actually), I get this error:
> git stash
fatal: could not exec C:/Users/pupeno/scoop/apps/git/current/mingw64/libexec/git-core/git-legacy-stash: No such file or directory
Indeed that file doesn't exist; but running git stash on a standalone PowerShell works. Any idea why this might be?
The way I configure PowerShell to be my terminal is like this:
and this is what the error looks like:
git powershell intellij-idea pycharm
I installed git using scoop and generally it seems to be working fine, but I run into an odd situation. When I try to stash changes in a PowerShell console inside IntelliJ (PyCharm actually), I get this error:
> git stash
fatal: could not exec C:/Users/pupeno/scoop/apps/git/current/mingw64/libexec/git-core/git-legacy-stash: No such file or directory
Indeed that file doesn't exist; but running git stash on a standalone PowerShell works. Any idea why this might be?
The way I configure PowerShell to be my terminal is like this:
and this is what the error looks like:
git powershell intellij-idea pycharm
git powershell intellij-idea pycharm
edited Nov 11 at 12:47
asked Nov 10 at 15:05
pupeno
102k97269425
102k97269425
When I try to stash changes in a PowerShell console inside IntelliJ
how did you open the ps console?
– Andrey
Nov 11 at 8:31
@Andrey: I set the terminal in IntelliJ to be powershell.exe and then open a Terminal. I'll add this detail to the question.
– pupeno
Nov 11 at 12:44
I have the same problem. I can run stash commands in standalone cmd but not in PyCharm. Have you already found a solution ?
– Aram810
yesterday
add a comment |
When I try to stash changes in a PowerShell console inside IntelliJ
how did you open the ps console?
– Andrey
Nov 11 at 8:31
@Andrey: I set the terminal in IntelliJ to be powershell.exe and then open a Terminal. I'll add this detail to the question.
– pupeno
Nov 11 at 12:44
I have the same problem. I can run stash commands in standalone cmd but not in PyCharm. Have you already found a solution ?
– Aram810
yesterday
When I try to stash changes in a PowerShell console inside IntelliJ
how did you open the ps console?– Andrey
Nov 11 at 8:31
When I try to stash changes in a PowerShell console inside IntelliJ
how did you open the ps console?– Andrey
Nov 11 at 8:31
@Andrey: I set the terminal in IntelliJ to be powershell.exe and then open a Terminal. I'll add this detail to the question.
– pupeno
Nov 11 at 12:44
@Andrey: I set the terminal in IntelliJ to be powershell.exe and then open a Terminal. I'll add this detail to the question.
– pupeno
Nov 11 at 12:44
I have the same problem. I can run stash commands in standalone cmd but not in PyCharm. Have you already found a solution ?
– Aram810
yesterday
I have the same problem. I can run stash commands in standalone cmd but not in PyCharm. Have you already found a solution ?
– Aram810
yesterday
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Although the error output the above location the file itself should be under the git installation folder:
C:Program FilesGitmingw64libexecgit-core
but running git stash on a standalone PowerShell works. Any idea why this might be?
The problem is likely due to the fact that there are spaces in the folder name.
Windows knows how to handle it well.
To verify that this is indeed the problem install git portable version, update your configuration and check to see if there is an error.
Git Portable: https://github.com/sheabunge/GitPortable/
That's not where Git is installed, it's inC:/Users/pupeno/scoop/apps/git/current/
. I installed it using scoop. I don't think there are spaces in the path, but maybe I'm missing something.
– pupeno
Nov 10 at 15:57
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Although the error output the above location the file itself should be under the git installation folder:
C:Program FilesGitmingw64libexecgit-core
but running git stash on a standalone PowerShell works. Any idea why this might be?
The problem is likely due to the fact that there are spaces in the folder name.
Windows knows how to handle it well.
To verify that this is indeed the problem install git portable version, update your configuration and check to see if there is an error.
Git Portable: https://github.com/sheabunge/GitPortable/
That's not where Git is installed, it's inC:/Users/pupeno/scoop/apps/git/current/
. I installed it using scoop. I don't think there are spaces in the path, but maybe I'm missing something.
– pupeno
Nov 10 at 15:57
add a comment |
up vote
0
down vote
Although the error output the above location the file itself should be under the git installation folder:
C:Program FilesGitmingw64libexecgit-core
but running git stash on a standalone PowerShell works. Any idea why this might be?
The problem is likely due to the fact that there are spaces in the folder name.
Windows knows how to handle it well.
To verify that this is indeed the problem install git portable version, update your configuration and check to see if there is an error.
Git Portable: https://github.com/sheabunge/GitPortable/
That's not where Git is installed, it's inC:/Users/pupeno/scoop/apps/git/current/
. I installed it using scoop. I don't think there are spaces in the path, but maybe I'm missing something.
– pupeno
Nov 10 at 15:57
add a comment |
up vote
0
down vote
up vote
0
down vote
Although the error output the above location the file itself should be under the git installation folder:
C:Program FilesGitmingw64libexecgit-core
but running git stash on a standalone PowerShell works. Any idea why this might be?
The problem is likely due to the fact that there are spaces in the folder name.
Windows knows how to handle it well.
To verify that this is indeed the problem install git portable version, update your configuration and check to see if there is an error.
Git Portable: https://github.com/sheabunge/GitPortable/
Although the error output the above location the file itself should be under the git installation folder:
C:Program FilesGitmingw64libexecgit-core
but running git stash on a standalone PowerShell works. Any idea why this might be?
The problem is likely due to the fact that there are spaces in the folder name.
Windows knows how to handle it well.
To verify that this is indeed the problem install git portable version, update your configuration and check to see if there is an error.
Git Portable: https://github.com/sheabunge/GitPortable/
answered Nov 10 at 15:50
CodeWizard
48.5k126588
48.5k126588
That's not where Git is installed, it's inC:/Users/pupeno/scoop/apps/git/current/
. I installed it using scoop. I don't think there are spaces in the path, but maybe I'm missing something.
– pupeno
Nov 10 at 15:57
add a comment |
That's not where Git is installed, it's inC:/Users/pupeno/scoop/apps/git/current/
. I installed it using scoop. I don't think there are spaces in the path, but maybe I'm missing something.
– pupeno
Nov 10 at 15:57
That's not where Git is installed, it's in
C:/Users/pupeno/scoop/apps/git/current/
. I installed it using scoop. I don't think there are spaces in the path, but maybe I'm missing something.– pupeno
Nov 10 at 15:57
That's not where Git is installed, it's in
C:/Users/pupeno/scoop/apps/git/current/
. I installed it using scoop. I don't think there are spaces in the path, but maybe I'm missing something.– pupeno
Nov 10 at 15:57
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53240237%2fgit-stash-not-working-in-an-intellij-powershell-why-is-that%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
When I try to stash changes in a PowerShell console inside IntelliJ
how did you open the ps console?– Andrey
Nov 11 at 8:31
@Andrey: I set the terminal in IntelliJ to be powershell.exe and then open a Terminal. I'll add this detail to the question.
– pupeno
Nov 11 at 12:44
I have the same problem. I can run stash commands in standalone cmd but not in PyCharm. Have you already found a solution ?
– Aram810
yesterday