• Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

Trouble cloning fork from github to my local machine

StevenTann22

New Coder
Hello all,

I am having a ton of trouble today cloning my for from github using Ubuntu on windows as my shell and visual studio code. Here is a link of how the prework says to do it, but as I follow along I receive a error message in the terminal of visual studio code after typing "learn test" into the terminal that says:

learn : The term 'learn' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ learn test
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (learn:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException


 

cbreemer

King Coder
So the VS terminal does not know the command "learn". Does default command interpreter (bash?) know about "learn" ? It might be as simple as adding a directory to the PATH variable.
Not sure why we should be watching a 9.5 minute video ?
 

Antero360

King Coder
Staff Team
Security Analyst
Hello all,

I am having a ton of trouble today cloning my for from github using Ubuntu on windows as my shell and visual studio code. Here is a link of how the prework says to do it, but as I follow along I receive a error message in the terminal of visual studio code after typing "learn test" into the terminal that says:

learn : The term 'learn' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ learn test
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (learn:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException


Hi there,
If you're using WSL, you should be able to just install git, and call git clone
$ apt-get install git
$ git clone https://github.com/repoPath.git
 
Top