You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
This fix seems to make side effect in my environment. I can't use git command that requests input like username or password.
env) Mac OS X 10.10.3, git 2.4 (by homebrew), Terminal.app 2.5.3
Last login: Sat May 9 06:55:01 on ttys000
~
❯ cd clonetest
~/clonetest master
❯ git --version
git version 2.4.0
~/clonetest master
❯ git push
fatal: could not read Username for'https://github.com': terminal prompts disabled
And I did comment out export GIT_TERMINAL_PROMPT=0, now works fine.
The reason will be displayed to describe this comment to others. Learn more.
I already read it, but seems not to what I mean. I don't want to know how to set GIT_TERMINAL_PROMPT=1 but want how to avoid git's terminal prompts disabled error.
If this problem happens only in my environment, please ignore. Thanks.
f43ab97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fix seems to make side effect in my environment. I can't use git command that requests input like username or password.
env) Mac OS X 10.10.3, git 2.4 (by homebrew), Terminal.app 2.5.3
And I did comment out
export GIT_TERMINAL_PROMPT=0
, now works fine.f43ab97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@0xBADDCAFE #111
f43ab97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I already read it, but seems not to what I mean. I don't want to know how to set
GIT_TERMINAL_PROMPT=1
but want how to avoid git'sterminal prompts disabled
error.If this problem happens only in my environment, please ignore. Thanks.
f43ab97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting
GIT_TERMINAL_PROMPT=1
after initializingpure
doesn't fix it?f43ab97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I see. It fix my problem but cause #76.
I hope that there is a way to solve each problem…
f43ab97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The simple solution here would be to remove the export and do
GIT_TERMINAL_PROMT=0 command git fetch
instead.f43ab97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I try
alias git='GIT_TERMINAL_PROMPT=1 command git'
and this helps me.Yeah, it's simple and good solution.
f43ab97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mafredri Can you open an issue? Or even better, a pull request? I want to see this fixed.
f43ab97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simple enough fix, done :)