Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update day2.md #1

Merged
merged 1 commit into from
Dec 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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]()