Git Bash error-reset
I've just started using Git Bash for executing my code, I tried to set it up for using python and anaconda, and when setting it up I misspelled a command line, and an error occurs every time I start the program. It doesn't accept any commands, I tried to reinstall it several times, but nothing changed.I'd be grateful if someone could help me fixing the problem.

git git-bash
add a comment |
I've just started using Git Bash for executing my code, I tried to set it up for using python and anaconda, and when setting it up I misspelled a command line, and an error occurs every time I start the program. It doesn't accept any commands, I tried to reinstall it several times, but nothing changed.I'd be grateful if someone could help me fixing the problem.

git git-bash
You have messed up yourexport PATH="...in one of the bash startup files (by deletingPATH=
– DavidPostill♦
Jan 6 at 18:27
Please don't post screenshots of terminals - copy the text into a code block instead.
– l0b0
Jan 6 at 22:33
add a comment |
I've just started using Git Bash for executing my code, I tried to set it up for using python and anaconda, and when setting it up I misspelled a command line, and an error occurs every time I start the program. It doesn't accept any commands, I tried to reinstall it several times, but nothing changed.I'd be grateful if someone could help me fixing the problem.

git git-bash
I've just started using Git Bash for executing my code, I tried to set it up for using python and anaconda, and when setting it up I misspelled a command line, and an error occurs every time I start the program. It doesn't accept any commands, I tried to reinstall it several times, but nothing changed.I'd be grateful if someone could help me fixing the problem.

git git-bash
git git-bash
edited Jan 6 at 18:25
DavidPostill♦
104k25227260
104k25227260
asked Jan 6 at 17:47
Benedek DérBenedek Dér
1
1
You have messed up yourexport PATH="...in one of the bash startup files (by deletingPATH=
– DavidPostill♦
Jan 6 at 18:27
Please don't post screenshots of terminals - copy the text into a code block instead.
– l0b0
Jan 6 at 22:33
add a comment |
You have messed up yourexport PATH="...in one of the bash startup files (by deletingPATH=
– DavidPostill♦
Jan 6 at 18:27
Please don't post screenshots of terminals - copy the text into a code block instead.
– l0b0
Jan 6 at 22:33
You have messed up your
export PATH="... in one of the bash startup files (by deleting PATH=– DavidPostill♦
Jan 6 at 18:27
You have messed up your
export PATH="... in one of the bash startup files (by deleting PATH=– DavidPostill♦
Jan 6 at 18:27
Please don't post screenshots of terminals - copy the text into a code block instead.
– l0b0
Jan 6 at 22:33
Please don't post screenshots of terminals - copy the text into a code block instead.
– l0b0
Jan 6 at 22:33
add a comment |
1 Answer
1
active
oldest
votes
You'll want to export PATH (export the variable named "PATH") rather than export $PATH (export the variable corresponding to the contents of the PATH variable).
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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%2fsuperuser.com%2fquestions%2f1391217%2fgit-bash-error-reset%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You'll want to export PATH (export the variable named "PATH") rather than export $PATH (export the variable corresponding to the contents of the PATH variable).
add a comment |
You'll want to export PATH (export the variable named "PATH") rather than export $PATH (export the variable corresponding to the contents of the PATH variable).
add a comment |
You'll want to export PATH (export the variable named "PATH") rather than export $PATH (export the variable corresponding to the contents of the PATH variable).
You'll want to export PATH (export the variable named "PATH") rather than export $PATH (export the variable corresponding to the contents of the PATH variable).
answered Jan 6 at 22:34
l0b0l0b0
5,49122341
5,49122341
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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%2fsuperuser.com%2fquestions%2f1391217%2fgit-bash-error-reset%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
You have messed up your
export PATH="...in one of the bash startup files (by deletingPATH=– DavidPostill♦
Jan 6 at 18:27
Please don't post screenshots of terminals - copy the text into a code block instead.
– l0b0
Jan 6 at 22:33