A basic plp git innitialization assignment Task 1: Repository Setup
- GitHub Repository Creation:
-
Logged into my GitHub account.
-
Created a new repository on GitHub and called it "PLPBasicGitAssignment".
-
Initialized it with a README file.
- Local Folder Setup:
-
Created a new folder on my local machine and named it "PLP Assignments" using the terminal.
-
Initialized a new Git repository in my local folder.
-
Linked my local repository to the GitHub repository using" git remote add origin https://github.com/Daniel-Chacha/PLPBasicGitAssignment.git
-
Inside my local folder,I created a new text file named
hello.txtand added a simple text message "Hello git, Hello git". 3-Committed Changes: git add hello.txt git commit -m "Add hello.txt with a greeting" -
Push the committed changes to my GitHub repository: git push -u origin main