Skip to content

Documentation: kicking the "reset --hard" habit

Jonathan Nieder git 1 version In review

Get series with b4
b4 am 20101029083516.GA26290@burratino

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Documentation: suggest "reset --merge" more oftenDocumentation/git-merge.txt Documentation/git-reset.txt Documentation/user-manual.txt+14 -61 reply
2/2Documentation: suggest "reset --keep" more oftenDocumentation/git-bisect-lk2009.txt Documentation/git-bisect.txt Documentation/git-checkout.txt +7 more+20 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC/PATCH 0/2] Documentation: kicking the "reset --hard" habit

Hi,

Kira on IRC reminded me that our introductory documentation does not explain how to use the new reset --keep and --merge primitives.

Sadly, at least the user manual change suggested below is probably not suitable, since reset --keep and --merge have not been around since git 1.5.3 days. Ideas for working around that and other comments would be welcome.

Jonathan Nieder (2):
Documentation: suggest "reset --merge" more often
Documentation: suggest "reset --keep" more often

 Documentation/git-bisect-lk2009.txt               |    2 +-
 Documentation/git-bisect.txt                      |    2 +-
 Documentation/git-checkout.txt                    |    2 +-
 Documentation/git-merge.txt                       |    2 +-
 Documentation/git-rerere.txt                      |    2 +-
 Documentation/git-reset.txt                       |   13 ++++++-----
 Documentation/gitcore-tutorial.txt                |    6 ++--
 Documentation/gitworkflows.txt                    |    2 +-
 Documentation/howto/maintain-git.txt              |    4 +-
 Documentation/howto/separating-topic-branches.txt |    2 +-
 Documentation/user-manual.txt                     |   22 ++++++++++++++------
 11 files changed, 34 insertions(+), 25 deletions(-)