version control - Revert local changes in fossil -
how clean/revert/undo local, un-commited changes in single source file fossil?
the clean command looks me should trick, no, local changes still there. looking same effect "git checkout filename.c" have.
fossil revert <filename>
.
>fossil revert usage: fossil revert ?-r revision? ?file ...? revert current repository version of file, or version associated baseline revision if -r flag appears. if file part of rename operation, both original file , renamed file reverted. revert files if no file name provided. if file reverted accidently, can restored using "fossil undo" command. options: -r revision revert given file(s) given revision see also: redo, undo, update
Comments
Post a Comment