Friday 30 July 2021

How to rebase and merge in master or other branch in git?

Simple way to rebase and merge the branch into other branch/master in git is going to explain by some steps:

1. Go to your Branch. // which you want to merge... in Git bash

2. git rebase master_branch_name // underline word will be your master or other branch where you want to upload.

This rebase will push your commits to top of the master/other branch..

3. Then pull and push the code by git desktop software.

4. Then go to the master or head branch (git checkout branch name)

5. git merge your_branchname  // underline word will be your lower branch name.


Note: If have any suggestions or issue regarding 'How to rebase and merge in master or other branch in git?' then you can ask by comments. 

No comments:

Post a Comment

How to resolve max execution time error in drupal ?

When you found error regarding 'max_execution_time' exceed, then you can follow steps for resolve this error: Steps:   You can put t...