https://www.theodinproject.com/lessons/foundations-git-basics this is the lesson that i am following. I completed the Create the Repository section successfully. I also completed the Use the Git Workflow section successfully. It’s the Modify a File or two where I am facing all the difficulties.

Can someone please show me the way how to do it ?

  • pseudo
    link
    fedilink
    English
    arrow-up
    2
    ·
    il y a 18 heures

    Git is about having a version of whatever project on a file in your computer (the file is called "local repository) and periodically synchronised its content with a remote file called central repository who is accessed potentially by other that you.

    The first step is to make sure you have git, the software, on your computer and that you have access to a central repository, here GitHub where you need an account. Have you done that?

    • TheViking@nord.pubOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      il y a 17 heures

      I already had git installed in my WSL. Today l downloaded and installed git in my windows 10 as well. I also have a GitHub account.

      • pseudo
        link
        fedilink
        English
        arrow-up
        2
        ·
        il y a 17 heures

        So now you need to connect Git (the software on your computer) to GitHub (the internet site that will host the central repository). That is done using the command

        git config

        And giving it your github credential as mentionned in the Setting Up Git lesson that is link in the lesson you are following.