Tag Archives: git add

How to undo git add before commit

How to undo git add before commit

In this article lets understand how to undo git add before commit. There are times when we have added few files via git add and not committed yet and now we don’t need to stage them for commit. So, we can do this using “git reset” command. Let’s understand how to do that step by …