ZANARDI Bruno

Software Developper

About
Resume

Git Blog

Git command `mv`

Definition

Move or rename a file, a directory, or a symlink.

Basic usage

Move or rename a file (or both)

$ git mv <file> <destination>

Move or rename a directory (or both)

$ git mv <dir> <destination>