Question‐1 - guna4784/73772126121-Devops-Assignment-1 GitHub Wiki

Devops Assignment 1

1 ) Illustrate the following GIT operations using local and remote (Github) repositories with the screenshots of your demonstration.

Commands

* git clone - This command is used to clone the remote repository to local computer.

Screenshot (4)

* git push - This command is used to push the changes from local to remote repository.

Screenshot (6)

* git pull - This command is used to pull the changes from remote to local repo that are made by other developers.

Screenshot (7)

git commit - This command is used to move the changes to staged area.

Screenshot (5)

* git log - This command is used to view the commits that are made.

![Screenshot (9)](https://github.com/guna4784/73772126121-Devops-Assignment

* git status - This command is used to view the status of the files(Staged,unstaged,modified..).

Screenshot (10)

* git reset - This command is used to reset the changes that are after a commit.

Screenshot (21)

* git stash - This command is used to temporarily save the changes in local that can be used afterwards.

Screenshot (10)

* Pull Requests

Screenshot (12) -1/assets/158166938/907855d9-754d-49ab-b0ce-9cda6a6dd88e)

* Branching - git branch

Screenshot (13)

* git checkout - Used to move the haed from one branch to another.

Screenshot (14)

* Merging and Merge conflicts

Screenshot (15)

* Branch Protection rules

Screenshot (16)