Skip to content

Commit efc4195

Browse files
authored
Merge pull request github#16019 from deepansh96/patch-2
2 parents 73226cf + 8eec70c commit efc4195

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/repositories/creating-and-managing-repositories/duplicating-a-repository.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ Before you can push the original repository to your new copy, or _mirror_, of th
3535
```
3636
3. Mirror-push to the new repository.
3737
```shell
38-
$ cd <em>old-repository</em>
38+
$ cd <em>old-repository.git</em>
3939
$ git push --mirror https://{% data variables.command_line.codeblock %}/<em>exampleuser</em>/<em>new-repository</em>.git
4040
```
4141
4. Remove the temporary local repository you created earlier.
4242
```shell
4343
$ cd ..
44-
$ rm -rf <em>old-repository</em>
44+
$ rm -rf <em>old-repository.git</em>
4545
```
4646

4747
## Mirroring a repository that contains {% data variables.large_files.product_name_long %} objects
@@ -53,7 +53,7 @@ Before you can push the original repository to your new copy, or _mirror_, of th
5353
```
5454
3. Navigate to the repository you just cloned.
5555
```shell
56-
$ cd <em>old-repository</em>
56+
$ cd <em>old-repository.git</em>
5757
```
5858
4. Pull in the repository's {% data variables.large_files.product_name_long %} objects.
5959
```shell
@@ -70,7 +70,7 @@ Before you can push the original repository to your new copy, or _mirror_, of th
7070
7. Remove the temporary local repository you created earlier.
7171
```shell
7272
$ cd ..
73-
$ rm -rf <em>old-repository</em>
73+
$ rm -rf <em>old-repository.git</em>
7474
```
7575

7676
## Mirroring a repository in another location

0 commit comments

Comments
 (0)