I sometimes meet the situation:
$ git add <some-file>
"Oh, it was mistake ( ゚д゚)"
In such a case, git reset HEAD <some-file>
is available.
$ git reset HEAD <some-file>
Unstaged changes after reset:
M <some-file>
Happier a bit😊
I sometimes meet the situation:
$ git add <some-file>
"Oh, it was mistake ( ゚д゚)"
In such a case, git reset HEAD <some-file>
is available.
$ git reset HEAD <some-file>
Unstaged changes after reset:
M <some-file>
Happier a bit😊