Skip to content

Commit

Permalink
Changes are merged
Browse files Browse the repository at this point in the history
  • Loading branch information
ibilalkayy committed Dec 3, 2022
1 parent 1ff0b82 commit 9ce60b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Days/day2.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ 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.

Expand Down

0 comments on commit 9ce60b8

Please sign in to comment.