Skip to content

Latest commit

 

History

History
17 lines (17 loc) · 1.07 KB

File metadata and controls

17 lines (17 loc) · 1.07 KB

STEPS AND COMAND USED

  1. GitHub Repository Creation:
    • Created a new repository on GitHub called "PLPBasicGitAssignment" and Initialize it with a README file.
  2. Local Folder Setup: -CreateD a new folder on local machine named "PLPBasicGitAssignment".
  3. Git Initialization:
  • Initializing a new Git repository in local folder using command git init.
  1. Connecting to GitHub:
  • Link a local repository to the GitHub repository using command git remote add origin https://github.com/Deusleon/PLPBasicGitAssignment.git
  1. Create a File:
  • Inside a local folder, i have created a new text file named hello.txt and add a simple text message "Hello, Git!".
  1. Committing Changes:
  • Then i have stage the changes using command git add hello.txt then git commit -m "Add hello.txt with a greeting".
  1. Pushing to GitHub:
  • After that i Push the committed changes to the GitHub repository using command git push -u origin master.
  1. Verifying on GitHub:
  • Then visited GitHub repository in a web browser and confirm that the hello.txt file and commit message are visible.