Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

PLPBasicGitAssignment

This repository demonstrates basic Git and GitHub usage.

Setup Instructions

Repository Setup

  1. Create a GitHub Repository:
    • Log in to GitHub.
    • Create a new repository named PLPBasicGitAssignment.
    • Initialize with a README file.

Local Setup

  1. Local Folder Setup:

    • Create a local folder named PLPBasicGitAssignment.
    • Navigate to the folder in the terminal:
      cd path/to/PLPBasicGitAssignment
  2. Git Initialization:

    • Initialize a new Git repository:
      git init
  3. Connecting to GitHub:

    • Link the local repository to GitHub:
      git remote add origin <https://github.com/fredjuma007/PLPBasicGitAssignment.git>
      

Making Changes

  1. Create a File:

    • Create new-text_file.txt with the message "Hello, Git!".
  2. Committing Changes:

    • Stage the file:
      git add hello.txt
    • Commit the changes:
      git commit -m "text file with a quote"

Pushing to GitHub

  1. Push Changes:
    • Push to GitHub:
      git push -u origin main

Verification

  1. Verify on GitHub:
    • Check the repository on GitHub to ensure the file and commit are present.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors