How do I undo ‘git add’ before git commit? Useful command to undo git add
Let’s assume by mistakenly you added file to git by using the command: git add, and you want to undo “git add before git commit?” Even this is the usual problem that you face in our day-to-day work as a Developer or DevOps or SysOps. So what’s the real pullback from git add? There are two options that […]