I have opened the Terminal in SourceTree. I am trying to change the comment on my previous commit by using git commit --amend. This has produced a helpful window where I can edit my initial comment, but I can't figure out how to quit the edit and get the command to actually run.
Sorry this is a real newbie question, but any help would be most appreciated.
Kind wishes ~ Patrick
It's opened your default editor, which is probably vi if you haven't changed it.
If it is vi, hit escape to get out of edit mode and then hit colon. A : prompt should appear at the bottom of the screen. Hit w <enter> to save. Then hit colon again and hit q <enter> to quit.
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