Seeker of knowledge, hacker of things. Lover of cats. Owner of unmatched enthusiasm.
www.hacksparrow.comCopyright © 2021 Hage Yaapa
To unadd one or more files from staging use the command git reset HEAD <file1
The last commit can be undone by a combination of git reset --soft HEAD~1 and git reset HEAD .. A more destructive approach is to use git reset --hard HEAD~1.