I’m dumping you for being a soft git.:LMAO:
I looked up soft git and I still have no clue what it is ? You should break up with me because I have soft grey matter
When you modify a file in your repository, the change is initially unstaged. In order to commit it, you must stage it—that is, add it to the index—using git add. When you make a commit, the changes that are committed are those that have been added to the index.
git reset changes, at minimum, where your current branch is pointing. The difference between --mixed and --soft is whether or not your index is also modified. So, if we're on branch master with this series of commits:
- A - B - C (master)
HEADpoints to C and the index matches C.
--soft
When we run git reset --soft B,
master (and thus HEAD) now points to B, but the index still has the changes from C; git status will
show them as staged. So if we run git commit at this point, we'll get a new commit with the same changes as C.