Practical uses of git reset –soft?
git reset is all about moving HEAD, and generally the branch ref.Question: what about the working tree and index?When employed with –soft, moves HEAD, most often updating the branch ref, and only the HEAD.This differ from commit –amend as: it doesn’t create a new commit. it can actually move HEAD to any commit (as commit … Read more