The following are the steps i took while carrying out this project:
-
I created a git repository in my github account.
-
i created a folder in my local machine with the same name as my remote repository.
-
I initialized my git repository on my terminal running the following command: * git init
-
I also echoed a README file with the command
* echo "PLPBasicGitAssignment" > README.md-
i then run the following commands:
git add README.md git commit -m 'Plp git basics' git branch -M main git remote add origin https://github.com/Kachically02/PLPBasicGitAssignment.git git push -u origin main -
i created a text file, then run the following commands:
* git add . * git commit -m 'plp basic assignment' * git push
-