I'm using Visual Studio 2015 and Git. When I need to push my commits I use fetch and rebase to merge the new commits before push. This is my company default policy to mantain the history clear without the join merges.
Is possible to configure the Sync feature of Visual Studio 2015 Team Explorer to use rebase when pull? In the Git config is possible set the pull to use rebase instead merge by default, but Visual Studio Sync seems to use another configuration.
As of right now, it looks like this feature isn't supported by Visual Studio.
You can see the references here and here.
... For now Visual Studio does a
git pull --no-rebase
when clicking onpull
. Visual Studio should just do agit pull
, therefore allowing the user to choose the behavior through the console...
As seen in the above quote, VS is explicitly stating that a sync is run with the --no-rebase
option. The suggested comments on those pages that it should use the global configuration settings is incorrect because of this explicit option being present.
You are limited to manually doing rebases at the moment.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With