I'm trying to learn git by trying different commands.
I'm using "GitKraken" to visualize how the git commit "graph" changes as and when I try different commands.
At one point , I used "git reset --hard HEAD~2" to go back to the previous 2 commits.
Till that time the graph was linear. When I made changes to my file, staged them and committed them, the new commit became non-linear somehow.
I wish to make that particular commit linear along with the other commits. Please refer to the image link mentioned