In this video, let's learn how to undo git add & git commit with git reset.
The commands;
To undo git commit
git reset --soft HEAD~1
To undo git add .
git restore --staged file_name
More Info;
Blog: incoming..
Let's connect:
GitHub: http://github.com/Ronlin1
Twitter: https://twitter.com/AfroBoyUg
Portfolio: https://linktr.ee/Atuhaire