git mv

say it: “GIT EM-VEE” /ɡɪt ˌɛmˈvi/

Moves or renames a path and stages the resulting changes.

What does git mv do?

git mv — Moves or renames a path and stages the resulting changes.

git mv menu.txt dinner-menu.txt

Level: Apprentice · More Git terms at this level

Updated