git-cp

cp Copy an existing file to a new location, preserving…

git cp

Copy an existing file to a new location, preserving history. Part of git-extras. More information: https://github.com/tj/git-extras/blob/master/Commands.md#git-cp.

git cp {{file}} {{new_file}}

git cp {{path/to/file}} {{path/to/new_file}}

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← git-count-objects git-create-branch →