Use rebase when synchronizing in Visual Studio 2015

I am using Visual Studio 2015 and Git. When I need to push my commits, I use fetch and reinstall to merge new commits before pushing. This is my default policy for my company to clear history without merging associations.

Can I configure the synchronization feature in Visual Studio 2015 Team Explorer to use rebase on click? In the Git configuration, you can set that to use rebase instead of concatenation it is used by default, but Visual Studio Sync seems to use a different configuration.

+6
source share
1 answer

As it seems now, this feature is not supported by Visual Studio.

Here you can see the links here and here .

... Currently, Visual Studio does git pull --no-rebase when clicking pull . Visual Studio should just do git pull , so it allows the user to choose behavior through the console ...

As you can see from the above quote, VS explicitly states that synchronization is done with the --no-rebase . The suggested comments on those pages that should use global configuration options are incorrect due to the presence of this explicit option.

You are limited to manually performing reinstallations at the moment.

+5
source

All Articles