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 <github_account>.github.io

Execution Senquence

  1. Prepare the screen for work SINGLE

  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>/<github_account>.github.io.git

SINGLE

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

SINGLE SINGLE

  1. Access our <github_account>.github.io repository interface on Github, we will see the Source Code with the commit message Add Source Code just appeared

SINGLE