I had already pushed some changes to a remote. Now I need to push some other changes which should be in that previously pushed commit but somehow are not. I can do this simply by pushing the changes with a new commit but just now I have found the --no-edit
flag and --amend
If I need to push the new changes but I need a single commit having the old and new changes is git commit --amend --no-edit
going to achieve that?