36. Git MERGE vs REBASE | What is Git rebase?| Rebase or Merge | Git tutorial for beginner

Опубликовано: 04 Октябрь 2024
на канале: Teach YourSelf Code
11,382
124

Git MERGE vs REBASE | What is Git rebase?| Rebase or Merge | Git tutorial for begineer

Hi All,

In this video we will cover the difference between Git Rebase and Merge.
We will see in details what is a Git merge and also we will explore Git Rebase.
The Difference between them is simple in merge both the branches are merge and the last commit of the both the branch becomes the part of the new commit object which is created.
In case of rebase new commits are created with the same content and have difference Hash as it is new. The newly created commit will start pointing to last commit of the base branch and the master and HEAD pointer will move to the last the commit which in the new commit series.

Steps to follow:
1) git checkout DevBranch
2) git rebase master
3) git checkout master
4) git merge DevBranch

Thanks,
Gagan Preet

Playlist:
Git tutorial:
   • 7. How to initialize git repository |...  

3rd party application installation:
   • How to install postman in MAC  

Spring boot beginners tutorial:
   • 1. What is spring boot and how to wri...  

Selenium Ruby Tutorial:
   • 1. How to install firebug and firepat...  

Ruby Tutorial:
   • Ruby tutorial: Chapter 1 Top 5 reason...  

Git Official website:
https://git-scm.com/

Git download:
https://git-scm.com/downloads

Git Documentation:
https://git-scm.com/doc
About this channel:
This is channel is dedicated for all those who want to learn new technologies by self learning. We keep on adding new content in this channel on a day to day basis and try to share our knowledge. Please feel free to drop your question to the email id mentioned below or comment on the video if you feel so.

facebook page:
  / teach-yourself-code-102086558276245  
LinkedIn:
  / gagan-arora-pm  
Email Id:
[email protected]

Disclaimer:
Videos are for educational purpose only, please use them wisely.
Video may or may not contain slight mistakes, if you feel something is not correct please do some research.
Through this video we are not forcing anything on anyone.