Skip to content

oghare01/Git-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 

Repository files navigation

Git-Project

  1. First Git was installed, I created a user and created a file DevOps in the Git terminal. I then moved to the DevOps folder using the cd command. These steps are shown in the screenshot below

git first steps

  1. I created a .txt file index.txt and added a line of text to the file. When I tried to make my commit, I got an error. This was because I had not specified my email earlier. See below above steps and error message

Error due to user unspecified

I proceeded to specify my email and when I made the commit it worked just fine!

git init successful

  1. Next, I created a new branch "new branch" and checked my branches as shown below

branch creation

  1. I poceeded to make a text modification on the first brand merged the branches as shown below

Branch update and merger

  1. The "main" branch was deleted using the git branch -d command

branch deletion

  1. A new repository was created to work on the next phase as shown below

sharing test repository

  1. The new git repository was pushed which can be seen in the image below

    gitpush

  2. Git was then cloned by another

    git cloned

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published