diff --git a/README.md b/README.md index e9ea11c..ff94312 100644 --- a/README.md +++ b/README.md @@ -1 +1,20 @@ -# lab-git-and-github \ No newline at end of file +# lab-git-and-github +--> forked the repository from lab-git-and-github and named it as 'lab-git-and-git-hub' +--> created a folder in the project list in my devide and named the folder 'lab on git and git hub' +--> copied the link under the https code in the kalvium repository +--> opened VS code and opened the folder 'getting started on git and github' +--> In VS code I opened a new terminal and opened bash in that +--> cloned the repository by using the command 'git clone https://github.com/Kalvium-Program/lab-git-and-github.git' +--> changed the directory by using the command 'cd getting-started-on-git-and-github/' +--> created a sub branch and named it testing by using the command 'git branch testing' +--> Went into the sub branch by using the command ' git checkout testing' +--> I closed the terminal and opened the forked html file named index.html and replaced John Doe with PRABHAS VARMA +--> Then I opened css file named style.css and changed the font color from blue to red +--> Then I opened the terminal and inside terminal I opened the bash +--> I added my changes by using the commad 'git add .' +--> After that I saved all the changes by using the command 'git commit -m "added my name and changed the font color" ' +--> Then I added a new remote repository reference to my local repository by using the command 'git remote add remoterepo +--> Then I pushed the changes by using the command 'git push --set-upstream origin testing' +--> I closed the VS code and opened my repository named 'getting-started-on-git-and-github' and refreshed it +--> I opened the HTML file and CSS file and checked if my changes were added +--> The changes were corectly added