Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 647 Bytes

File metadata and controls

24 lines (19 loc) · 647 Bytes

Day 5: Remote Repositories

Goal: Learn how to work with remote repositories.

  1. Create a Remote Repository:

    • Create a new repository on GitHub or any other Git hosting service.
  2. Add a Remote:

    • Add the remote repository to your local repository:
      git remote add origin <remote-repository-URL>
  3. Push to the Remote Repository:

    • Push your local repository to the remote repository:
      git push -u origin main
  4. Clone a Repository:

    • Clone a remote repository to a new directory:
      git clone <remote-repository-URL> new-directory