The local git repository has a commit (not HEAD). I have newly modified the file and want to submit it to this commit instead of creating a new commit. Is there a corresponding command?
I don’t think there is such a command. You cannot modify the submission content of historical commits. Otherwise, how to deal with the submissions based on this commit? You can only create a new branch on that commit and then submit it again
I don’t think there is such a command. You cannot modify the submission content of historical commits. Otherwise, how to deal with the submissions based on this commit?
You can only create a new branch on that commit and then submit it again