From df71bbaaee795acd24cdfe15b649e34ad70c6646 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Wed, 12 May 2021 13:48:43 +0200 Subject: [PATCH 01/12] git-cp: add page --- pages/common/git-cp.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 pages/common/git-cp.md diff --git a/pages/common/git-cp.md b/pages/common/git-cp.md new file mode 100644 index 0000000000000..96b34ff587882 --- /dev/null +++ b/pages/common/git-cp.md @@ -0,0 +1,13 @@ +# git cp + +> Copy an existing file. +> A part of git-extras. +> More information: + +- Copy an existing file in a Git repo: + +`git cp {{file}} {{new_file}}` + +- Copy an existing file in a Git repo and move it elsewhere: + +`git cp {{file}} {{/directory/to/new_file}}` From 245230b553a09daf3e771490a5b2d680c26aa995 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Wed, 12 May 2021 13:52:24 +0200 Subject: [PATCH 02/12] Fixed bot issue --- git-cp.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 git-cp.md diff --git a/git-cp.md b/git-cp.md new file mode 100644 index 0000000000000..79a3ddfb9ad00 --- /dev/null +++ b/git-cp.md @@ -0,0 +1,13 @@ +# git cp + +> Copy an existing file. +> A part of git-extras. +> More information: . + +- Copy an existing file in a Git repo: + +`git cp {{file}} {{new_file}}` + +- Copy an existing file in a Git repo and move it elsewhere: + +`git cp {{file}} {{/directory/to/new_file}}` From 2dc2c73f98781a6b618a7d96f5bfa00b388f1385 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Wed, 12 May 2021 13:55:37 +0200 Subject: [PATCH 03/12] Maybe fixed the bot issue --- git-cp.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/git-cp.md b/git-cp.md index 79a3ddfb9ad00..0ebb23942be85 100644 --- a/git-cp.md +++ b/git-cp.md @@ -1,7 +1,6 @@ # git cp -> Copy an existing file. -> A part of git-extras. +> Copy an existing file. A part of git-extras. > More information: . - Copy an existing file in a Git repo: From d2ca1a356a0e0262f5c5fe0c408b175619ccb4ca Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Wed, 12 May 2021 13:57:34 +0200 Subject: [PATCH 04/12] I had 2 pages.. all fixed now --- git-cp.md | 12 ------------ pages/common/git-cp.md | 5 ++--- 2 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 git-cp.md diff --git a/git-cp.md b/git-cp.md deleted file mode 100644 index 0ebb23942be85..0000000000000 --- a/git-cp.md +++ /dev/null @@ -1,12 +0,0 @@ -# git cp - -> Copy an existing file. A part of git-extras. -> More information: . - -- Copy an existing file in a Git repo: - -`git cp {{file}} {{new_file}}` - -- Copy an existing file in a Git repo and move it elsewhere: - -`git cp {{file}} {{/directory/to/new_file}}` diff --git a/pages/common/git-cp.md b/pages/common/git-cp.md index 96b34ff587882..0ebb23942be85 100644 --- a/pages/common/git-cp.md +++ b/pages/common/git-cp.md @@ -1,8 +1,7 @@ # git cp -> Copy an existing file. -> A part of git-extras. -> More information: +> Copy an existing file. A part of git-extras. +> More information: . - Copy an existing file in a Git repo: From deb15632e7c079d24f1f3c990100e0e052677900 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Wed, 12 May 2021 13:11:30 +0100 Subject: [PATCH 05/12] Update pages/common/git-cp.md Co-authored-by: Patrice Denis --- pages/common/git-cp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-cp.md b/pages/common/git-cp.md index 0ebb23942be85..2ffe9b31f1e26 100644 --- a/pages/common/git-cp.md +++ b/pages/common/git-cp.md @@ -1,7 +1,7 @@ # git cp > Copy an existing file. A part of git-extras. -> More information: . +> More information: . - Copy an existing file in a Git repo: From 163dbb71ffc43e5e2efd0e47dbb722516ea9c682 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Wed, 12 May 2021 15:05:26 +0200 Subject: [PATCH 06/12] Changed more info link --- pages/common/git-cp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-cp.md b/pages/common/git-cp.md index 0ebb23942be85..6fcd0a65f37a2 100644 --- a/pages/common/git-cp.md +++ b/pages/common/git-cp.md @@ -1,7 +1,7 @@ # git cp > Copy an existing file. A part of git-extras. -> More information: . +> More information: . - Copy an existing file in a Git repo: From 0c88f3440f5dfaeeec38be9b9b81e8c200733926 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Wed, 12 May 2021 15:10:26 +0100 Subject: [PATCH 07/12] Update pages/common/git-cp.md Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> --- pages/common/git-cp.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/common/git-cp.md b/pages/common/git-cp.md index 6fcd0a65f37a2..613db646446e2 100644 --- a/pages/common/git-cp.md +++ b/pages/common/git-cp.md @@ -1,6 +1,7 @@ # git cp -> Copy an existing file. A part of git-extras. +> Copy an existing file to a new location, preserving history. +> Part of `git-extras`. > More information: . - Copy an existing file in a Git repo: From d9fb8e4ef0dffa105d0aff4dc5dbf1b32506ebfd Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Wed, 12 May 2021 15:11:05 +0100 Subject: [PATCH 08/12] Update pages/common/git-cp.md Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> --- pages/common/git-cp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-cp.md b/pages/common/git-cp.md index 613db646446e2..e44536ae3bd27 100644 --- a/pages/common/git-cp.md +++ b/pages/common/git-cp.md @@ -10,4 +10,4 @@ - Copy an existing file in a Git repo and move it elsewhere: -`git cp {{file}} {{/directory/to/new_file}}` +`git cp {{path/to/file}} {{/directory/to/new_file}}` From a569cd08849f63140c8719e6b933e5a7f6d01cea Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Wed, 12 May 2021 16:13:00 +0200 Subject: [PATCH 09/12] Edited first command desc, to include that it will make a file in the same folder --- pages/common/git-cp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-cp.md b/pages/common/git-cp.md index e44536ae3bd27..6ea9d6ebcd314 100644 --- a/pages/common/git-cp.md +++ b/pages/common/git-cp.md @@ -4,7 +4,7 @@ > Part of `git-extras`. > More information: . -- Copy an existing file in a Git repo: +- Copy an existing file in a Git repo, in the same directory: `git cp {{file}} {{new_file}}` From 4589a82dd4f6553b0ebf40129a1dc2a7c83dde9c Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Wed, 12 May 2021 15:15:16 +0100 Subject: [PATCH 10/12] Update pages/common/git-cp.md Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> --- pages/common/git-cp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-cp.md b/pages/common/git-cp.md index 6ea9d6ebcd314..7e859d2ff06f0 100644 --- a/pages/common/git-cp.md +++ b/pages/common/git-cp.md @@ -10,4 +10,4 @@ - Copy an existing file in a Git repo and move it elsewhere: -`git cp {{path/to/file}} {{/directory/to/new_file}}` +`git cp {{path/to/file}} {{path/to/new_file}}` From e2635ccf3c60bf2e67fac9adae9b4543d218dc45 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Wed, 12 May 2021 16:22:05 +0200 Subject: [PATCH 11/12] Reworded one of desc --- pages/common/git-cp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-cp.md b/pages/common/git-cp.md index 7e859d2ff06f0..e2fceb853028b 100644 --- a/pages/common/git-cp.md +++ b/pages/common/git-cp.md @@ -4,7 +4,7 @@ > Part of `git-extras`. > More information: . -- Copy an existing file in a Git repo, in the same directory: +- Copy an existing file in a Git repo, staying in the same directory: `git cp {{file}} {{new_file}}` From 3c67522cbcd370c92ccce932d010519531bd6953 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Wed, 12 May 2021 16:23:01 +0200 Subject: [PATCH 12/12] Reworded other sentence --- pages/common/git-cp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-cp.md b/pages/common/git-cp.md index e2fceb853028b..1e5102ace3047 100644 --- a/pages/common/git-cp.md +++ b/pages/common/git-cp.md @@ -8,6 +8,6 @@ `git cp {{file}} {{new_file}}` -- Copy an existing file in a Git repo and move it elsewhere: +- Copy an existing file in a Git repo and place it elsewhere: `git cp {{path/to/file}} {{path/to/new_file}}`