Git - rebase

1 - About

rebase is designed (as merge) to integrate changes from one branch into another branch.

php dev use rebase to update regularly from master

git checkout feature/featurename
git rebase master

and use merge (forward) once the branch is accepted.

git checkout master
git merge --ff-only feature/featurename

3 - Configuration

Automatic rebase of a branch before a pull request

git config branch.autosetuprebase local

4 - Documentation / Reference

Data Science
Data Analysis
Data Science
Linear Algebra Mathematics

Powered by ComboStrap