1

I am trying to pull a clone into pythonanywhere.

I run:

git clone https://github.com/<your-github-username>/my-first-blog.git

I get the following syntax error:

 File < stdin>, line 1
    git clone https://github.com/yavorcik/my-first-blog.git
            ^
SyntaxError: invalid syntax

Not sure what I am doing wrong here.

1 Answer 1

6

You are issuing the command in one of the Python consoles, while you should issue it in a Bash console, thus the error message that this is not valid Python code.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.