Changes between Version 3 and Version 4 of GitCautions
- Timestamp:
- Dec 30, 2013, 2:15:48 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GitCautions
v3 v4 7 7 == Things to avoid == 8 8 9 === Commands and options that overwrite data ===9 === Commands and options that overwrite data without warning === 10 10 11 11 * {{{git reset --hard}}} 12 12 * The {{{-f}}} or {{{--force}}} option for any command. 13 * The {{{git checkout}}} form that takes path arguments. 13 14 14 15 Examples: … … 17 18 git checkout -f HEAD 18 19 git submodule update --force 20 git checkout config.hpp 21 git update . 19 22 }}} 20 23 21 Once experience and expertise develops, these commands and options can be used (very) sparingly, but they are sharp ,dangerous tools.24 Once experience and expertise develops, these commands and options can be used (very) sparingly, but they are sharp and very dangerous tools. 22 25 23 26 == Things to embrace == … … 33 36 == Acknowledgements == 34 37 35 Edward Diener, Michael Cox contributed suggestions and comments in Boost mailing list discussions.38 Beman Dawes created and maintains this page. Edward Diener, Michael Cox, and Phil Richards contributed cautions. 36 39 37 40 -----