to finish the move. However, that does not save you a single command from your move-back-then-git-move workaround.

Afaik, these two commands cannot be bundled via a git alias: You need to supply two names to two different commands, and that is incompatible with alias substitution. So, if you absolutely want to be able to do this with a single command, you either need to write a shell script or function. With a shell script, you can then alias it in your ~/.gitconfig if you absolutely want to call it as a git command, but I really wouldn't bother if I were you.

Email codedump link for How to &quot;rename&quot; a file in Git after already having moved it with bash/mv