Git Remote and GitHub

TODO

โœ… Push your notes to a remote repository on GitHub

โœ… Push your GitPod workspace to GitHub

Scenario

  • Working on a project ๐Ÿ‘จโ€๐Ÿ’ป
  • Want to go home and work on it from a different computer ๐Ÿ 
  • Need to access and sync with the latest version ๐Ÿคจ

Create Repository on GitHub

Create New Repository

contain

Add remote and push (CLI)

git remote add origin <your-repository-url.git>
git branch -M main
git push -u origin main

Create remote repository and push (VSCode)

Follow wizard to create a new repository and push

Resources

Create personal access token

Using personal access token in CLI