I'm moving from Subversion to Git under Visual Studio 2012. In a small team we work with master branch shared across team members.
In Subversion when two team members change the same source file and there's no unsolved conflict the logic on commit is:
In Git I have other behavior:
This automatic commit don't allow change text (only when I get conflict to solve by hand). Is that the correct way to work with Visual Studio Tools for Git?
As long as a Commit has not been pushed to the remote and hasn't been shared with other team members you can change it using the Commandline. Using Git commit --amend you can update the commit message locally before pushing it back to your Git repository.
This command hasn't been exposed using the Visual Studio UI in the current version of the Visual Studio Tools for Git, so for now the commandline is your only option.
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