简体   繁体   中英

how to cancel svn commit when editing the commit-notes (command line client)

I'm using the command-line SVN client on Linux. I typed svn commit which invoked vim to edit the commit notes. When I looked into the list of modified and added files I decided to cancel the commit. But how can I achieve that? Is it already too late?

Just quit the editor without saving , you will be asked to continue or cancel back on the command line.

Like this:

Log message unchanged or not specified
(a)bort, (c)ontinue, (e)dit:

If you've already saved the message, overwrite your message with the empty message, save again, and quit the editor. svn will then abort because of the empty message as well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM