I wonder, why I see this commit in TFS:
Here's what I've done:
- I have changed these files
- Meanwhile another developer made commit (
94feaf removed literal types from workflow/identity query as this comes from
) and pushed it
94feaf removed literal types from workflow/identity query as this comes from
) and pushed it As commented, you would need a pull --rebase for avoid those merges.
But, as detailed in this feature request:
The "sync" button should respect the standard pull rebase setting for its default:
git config --global pull.rebase true
But it does not:
On our repo, we set option
pull.rebase = true
.
But inside Visual studio, it does a merge instead of a rebase as expected.
Please fix it.
Current situation:
git rebase
is supported in Visual Studio 2015
The feature can be found under the “
branches
” panel of the team explorer.
But:
I'm not really sure to understand the reason behind "having a separate gesture for
pull
andpull --rebase
".
I'll probably speak in the name of most developers: we expect something simple and clear. We all expect the "Sync
" button to make a pull then a push. And we all expect that the pull command take into account the settings we set for our repos whether it's a merge or rebase.
Since Git 2.9, I would recommend:
git config pull.rebase true
git config rebase.autoStash true
But again, those settings are not yet fully supported in Visual Studio.