PLP Basic Git Assignment
- GitHub Repository Creation:
- Logged in to my GitHub account.
- Created a new repository on "PLPBasicGitAssignment".
- Initialized it with a README file.
- Created a new folder named "PLPBasicGitAssignment" on my local machine.
- Opened git bash and navigated to the "PLPBasicGitAssignment" folder.
- Git Initialization:
- Initialized a new Git repository in my local folder "PLPBasicGitAssignment".
- Connecting to GitHub:
- Linked my local repository to the GitHub repository created in Task 1.
- git remote add origin https://github.com/Elizaphan88/PLPBasicGitAssign.git
- Creating index File:
- Inside my local folder "PLPBasicGitAssignment" in VSCcode, I created a new html file (
index.html
). - Added a heading and 2 paragraphs.
- Committing Changes: git add . git commit -m "Add hello.txt with a greeting"
- Pushing to GitHub: git push -u origin main