Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Task 1: Repository Setup

  1. GitHub Repository Creation:
    • Logged in to GitHub account.
    • Created a new repository named "PLPBasicGitAssignment".
    • Initialized with a README file.

Task 2: Local Setup

  1. Local Folder Setup:

    • Created a new folder named "PLPBasicGitAssignment" on the local machine.
  2. Git Initialization:

    • Initialized a new Git repository in the local folder.
    • Command used:
      git init
  3. Connecting to GitHub:

    • Linked the local repository to the GitHub repository.
    • Command used:
      git remote add origin <repository-url>

Task 3: Making Changes

  1. Create a File:

    • Created a new text file named hello.txt inside the local folder.
    • Added the text "Hello, Git!" to hello.txt.
  2. Committing Changes:

    • Staged the changes.
      git add hello.txt
    • Committed the changes.
      git commit -m "Add hello.txt with a greeting"

Task 4: Pushing to GitHub

  1. Pushing to GitHub:
    • Pushed the committed changes to the GitHub repository.
      git push -u origin main

Task 5: Verification

  1. Verified on GitHub:
    • Visited the GitHub repository in a web browser to confirm the visibility of hello.txt and the commit message.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors