git reset HEAD^
which will evict the commits from the branch and from the index, but leave the working tree around.git reset HEAD^ -- This uncommits the local changes and show it as modified file.
https://sethrobertson.github.io/GitFixUm/fixup.html#remove_last
No comments:
Post a Comment