5

I am using Code to work on some files in a git repository, when i make some changes on a branch and one of my colleagues makes a change in the same branch (conflicts not important) and run the git/sync command it git pull --merge and I'd like to configure it to make something git pull --rebase

Can this be configured?

2 Answers 2

6

This can be configured via git config. There is no separate option in VS Code:

git config pull.rebase true
Sign up to request clarification or add additional context in comments.

Comments

4

You can now Sync+Rebase since September2018 release https://code.visualstudio.com/updates/v1_28#_always-rebase-when-running-sync

The git.rebaseWhenSync setting will let you configure the Sync command to always use rebase instead of merge when running

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.