Skip to content

Commit

Permalink
Merge pull request #1 from FarihaMehzabin/patch-1
Browse files Browse the repository at this point in the history
Another command is added to day2.md
  • Loading branch information
ibilalkayy authored Dec 2, 2022
2 parents 6a65897 + c636adb commit fafed42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Days/day2.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ On the second day, I learned the following things about Git.
- `git branch` will show the list of branches of Git. Branch is created to divide the data functionalities or use cases.
- `git branch branchname` will create a new branch.
- `git checkout branchname` will help you switch to another branch.
- `git checkout -b branchname` will create a new branch and switch to that branch too.
- `git rebase -i hash value` will merge multiple commits into a single commit.
- `git merge branchname` will merge the branch into another. Here the name of the branch would a branch that you want to merge into another branch.

## **Explaining it in a video**

Here you can get an explanation in a video. [2/60 Day of DevOps Challenge]()
Here you can get an explanation in a video. [2/60 Day of DevOps Challenge]()

0 comments on commit fafed42

Please sign in to comment.