Skip to main content
Committed ⭐️⭐️⭐️
February 26, 2023
Solved

VS CODE INTEGRATION WITH GITHUB

  • February 26, 2023
  • 5 replies
  • 123 views

Who can share a procedure for integrating the vscode with the cognite github. I have followed the installation video, but believe it is missing some steps. I can make it work.  Thanks

    Best answer by Jason Dressel

    Hi Eddy,

    The sample code for that course reside in Cognite’s git repository: https://github.com/cognitedata/using-cognite-python-sdk. The instruction is asking to clone (fetch/pull) that code from the repository to your local machine.  It appear the git commands are not installed on your windows machine.  You can find several instructions to install.  Here is one resource: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

    Hope this helps,
    Jason

    5 replies

    Expert ⭐️⭐️⭐️⭐️
    February 27, 2023

    Eddy,

    Can you kindly share which instructions you followed?  It should be as simple as ‘git clone’ and using out of the box VSCode git integration plugins.


    Jason

    Committed ⭐️⭐️⭐️
    March 1, 2023

    Thanks a lot for your replay

     

    I am following the procedure described in the course “Learn to use the Cognite python SDK’, Please check the video on the step 6

     

    Following the command and its error. 

     

    PS C:\Users\EGimenez\poetry\dev> git clone https://github.com/cognitedata/using-cognite-python-sdk.git
    git : The term 'git' 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
    + git clone https://github.com/cognitedata/using-cognite-python-sdk.git
    + ~~~
        + CategoryInfo          : ObjectNotFound: (git:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException

    Expert ⭐️⭐️⭐️⭐️
    March 1, 2023

    Hi Eddy,

    The sample code for that course reside in Cognite’s git repository: https://github.com/cognitedata/using-cognite-python-sdk. The instruction is asking to clone (fetch/pull) that code from the repository to your local machine.  It appear the git commands are not installed on your windows machine.  You can find several instructions to install.  Here is one resource: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

    Hope this helps,
    Jason

    Dilini Fernando
    Expert ⭐️⭐️⭐️⭐️
    Expert ⭐️⭐️⭐️⭐️
    March 9, 2023

    Hi @Eddy Ramon Gimenez Moreno ,

    I hope @Jason Dressel ‘s explanation was clear to you. Let us know whether you are able to solve the issue.  

    Best regards,
    Dilini

    Dilini Fernando
    Expert ⭐️⭐️⭐️⭐️
    Expert ⭐️⭐️⭐️⭐️
    March 24, 2023

    Hi @Eddy Ramon Gimenez Moreno,

    I hope you are able to solve this issue.

    For the moment, I will close this thread. Please feel free to create a new post if you have any questions.  

    Best regards,
    Dilini