You need to amend the commit (press commit and then choose amend from the commit options above the commit message).
Afterwards, you need to force push to the server, because you are rewriting history. You cannot do this with SourceTree and the server might also stop you from doing it, because it is a potentially destructive operation.
Yes, and if other users have pulled your changes, their workflow will be disrupted as well. Stackoverflow already has information on how they can recover. Please make sure to read both answers to that question: http://stackoverflow.com/questions/6898317/git-pull-analogous-to-opposite-of-git-push-f
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot