Notes:
Undo an Add: git reset --soft HEAD~1
The article make a reference to <commit hash> but at the beginning I did not see any direct reference for the reader to understand it. Here is the link that explains hash, refs, ref-log very well.
Notes:
Undo an Add: git reset --soft HEAD~1
The article make a reference to <commit hash> but at the beginning I did not see any direct reference for the reader to understand it. Here is the link that explains hash, refs, ref-log very well.
Distraction-free reading. No ads.
Organize your knowledge with lists and highlights.
Tell your story. Find your audience.
Read member-only stories
Support writers you read most
Earn money for your writing
Listen to audio narrations
Read offline with the Medium app
Software development enthusiast since I was 8 yrs old. Love communicating on anything regarding innovation, community development … ∞