Skip to content

Commit e0375fa

Browse files
Remove .git from directory name (#34435)
Co-authored-by: Alex Nguyen <[email protected]>
1 parent e5616f9 commit e0375fa

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
@@ -37,15 +37,15 @@ Before you can push the original repository to your new copy, or _mirror_, of th
3737
1. Mirror-push to the new repository.
3838

3939
```shell
40-
cd OLD-REPOSITORY.git
40+
cd OLD-REPOSITORY
4141
git push --mirror https://{% data variables.product.product_url %}/EXAMPLE-USER/NEW-REPOSITORY.git
4242
```
4343

4444
1. Remove the temporary local repository you created earlier.
4545

4646
```shell
4747
cd ..
48-
rm -rf OLD-REPOSITORY.git
48+
rm -rf OLD-REPOSITORY
4949
```
5050

5151
## Mirroring a repository that contains {% data variables.large_files.product_name_long %} objects
@@ -60,7 +60,7 @@ Before you can push the original repository to your new copy, or _mirror_, of th
6060
1. Navigate to the repository you just cloned.
6161

6262
```shell
63-
cd OLD-REPOSITORY.git
63+
cd OLD-REPOSITORY
6464
```
6565

6666
1. Pull in the repository's {% data variables.large_files.product_name_long %} objects.
@@ -85,7 +85,7 @@ Before you can push the original repository to your new copy, or _mirror_, of th
8585

8686
```shell
8787
cd ..
88-
rm -rf OLD-REPOSITORY.git
88+
rm -rf OLD-REPOSITORY
8989
```
9090

9191
## Mirroring a repository in another location

0 commit comments

Comments
 (0)