YouTip LogoYouTip

Git Mv

# git mv Command [![Image 3: Git Basic Operations](#)Git Basic Operations](#) * * * The `git mv` command is used to move or rename a file, directory, or symlink. ```bash git mv If the new filename already exists but you still want to rename it, you can use the `-f` parameter: ```bash git mv -f We can add a README file (if it doesn't exist): ```bash $ git add README Then rename it: ```bash $ git mv README README.md $ ls README.md * * Git Basic Operations](#)
← Python3 String LowerPython3 String Ljust β†’