Push Code to Repository

We will proceed to clone our repository that we created in step 2.2 using the following syntax:

git clone https://<your_token>@github.com/<github_account>/<repository_name>.git

With:

  • <your_token> : The token you saved in step 2.1
  • <github_account> : Your Github account username
  • <repository_name> : Your repository name, in this case workshop1

Execution Senquence

  1. Prepare the screen for work MULTIPLE

  2. From the Git bash interface

  • Execute the command git clone using the above mentioned syntax. Please change the information to suit you
git clone https://<your_token>@github.com/<github_account>/workshop1.git

MULTIPLE

  • We will see the workshop1 folder appears
  1. Navigate to the 000058-SessionManager folder
  • Go to public folder
  • Copy all Source Code here MULTIPLE
  1. Navigate to the workshop1 folder just cloned above
  • Paste all Source Code just Copy MULTIPLE
  1. Return to the Git bash interface
  • Navigate to the workshop1 folder
cd workshop1
  • Push all Source Code to Repository with commands
git add .
git commit -m "Add Source Code"
git push

MULTIPLE MULTIPLE

  1. Access our workshop1 repository interface on Github, we will see the Source Code with the commit message Add Source Code just appeared MULTIPLE