Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ibilalkayy committed Dec 3, 2022
2 parents 1ff0b82 + fafed42 commit 9075b07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Days/day2.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ 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](https://www.youtube.com/watch?v=wu2dPH4ybOs&list=PLptbpfKzsc3BtEki4tHQm5Xmpj8w1_JlM&index=1)
Here you can get an explanation in a video. [2/60 Day of DevOps Challenge](https://www.youtube.com/watch?v=wu2dPH4ybOs&list=PLptbpfKzsc3BtEki4tHQm5Xmpj8w1_JlM&index=1)

0 comments on commit 9075b07

Please sign in to comment.