mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
@spacewander review.
This commit is contained in:
parent
2a5c08aaf8
commit
2c9b071fde
|
|
@ -789,7 +789,7 @@ $ git info --no-config
|
|||
|
||||
## git cp
|
||||
|
||||
Copy a file to another one keeping its history and allowing for merge conflits handling.
|
||||
Copy a file to another one keeping its history and allowing for merge conflicts handling.
|
||||
|
||||
```bash
|
||||
$ git cp README.md README.rst
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ DESTINATION_FILENAME=""
|
|||
|
||||
function usage()
|
||||
{
|
||||
echo "USAGE: ${PROGRAM} CURRENT_FILENAME DESTINATION_FILENAME"
|
||||
echo 1>&2 "USAGE: ${PROGRAM} CURRENT_FILENAME DESTINATION_FILENAME"
|
||||
}
|
||||
|
||||
while [[ $# -gt 0 ]]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
PROGRAM=$0
|
||||
PRIMARY_BRANCH=""
|
||||
SECONDARY_BRANCH=""
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
.SH "SYNOPSIS"
|
||||
\fBgit\-cp\fR <current_filename> <destination_filename>
|
||||
.SH "DESCRIPTION"
|
||||
Copy a file keeping its git history\. This allow merge conflict handling\.
|
||||
Copy a file keeping its git history\. This allows merge conflict handling\.
|
||||
.SH "EXAMPLES"
|
||||
Copy README into README\.txt
|
||||
.IP "" 4
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@
|
|||
|
||||
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
||||
|
||||
<p>Copy a file keeping its git history. This allow merge conflict handling.</p>
|
||||
<p>Copy a file keeping its git history. This allows merge conflict handling.</p>
|
||||
|
||||
<h2 id="EXAMPLES">EXAMPLES</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ git-cp(1) -- Copy a file keeping its history
|
|||
|
||||
## DESCRIPTION
|
||||
|
||||
Copy a file keeping its git history. This allow merge conflict handling.
|
||||
Copy a file keeping its git history. This allows merge conflict handling.
|
||||
|
||||
## EXAMPLES
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue