Use rebase when Sync in Visual Studio 2015

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.

  • Why is it resulting in a merge conflict?
  • git commands not working in git bash (windows 7 x64)
  • Search for particular commits
  • How to prefer files from one branch during a merge?
  • How to clone a git-flow style git repository?
  • What's the difference between git “--track” and “--set-upstream-to”?
  • How does my git repository keep getting corrupted?
  • Should I create a branch for the free version of my android app?
  • git clone issue: repo too large? (50m)
  • How do I view git diff with textmate
  • Git workflow to distribute changes to several branches
  • New to Git: git push origin master = “ssh_exchange_identifiction: Connection closed by remote host. Fatal: The remote end hung up unexpectedly”
  • One Solution collect form web for “Use rebase when Sync in Visual Studio 2015”

    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 on pull.
    Visual Studio should just do a git 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.

    Git Baby is a git and github fan, let's start git clone.