Git · Setup and remotes

git config pull.rebase

Makes git pull rebase local commits instead of creating merge commits.

Syntax
git config --global pull.rebase true

Example

Example
git config --global pull.rebase true

More in this group

git clone --branch git clone --depth git config alias git config core.autocrlf git init --bare git remote add git remote remove git remote set-url

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course