git-cp(1)

git-cp1

Copy a file keeping its history

Usage

git-cp <current_filename> <destination_filename>

Overview

Copy a file keeping its git history. This allows merge conflict handling.

Examples

Copy README into README.txt

$ git cp README README.txt

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

Author

Written by Rémy Hubscher <[email protected]>

Reporting bugs

<https://github.com/tj/git-extras/issues>

From git-extras 7.3.0-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.