Is there a way I can reset(using any mode) my changes after I add a commit, given there is only one commit in the history ?
Generally, if I need to reset, I would do,
git reset <mode> <commitId>
Now, since I have just one commit in my history, Is there any workaround to achieve this?