Skip to content

Commit

Permalink
Remove .git from directory name (#34435)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Nguyen <[email protected]>
  • Loading branch information
viliusddd and nguyenalex836 authored Aug 29, 2024
1 parent e5616f9 commit e0375fa
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ Before you can push the original repository to your new copy, or _mirror_, of th
1. Mirror-push to the new repository.

```shell
cd OLD-REPOSITORY.git
cd OLD-REPOSITORY
git push --mirror https://{% data variables.product.product_url %}/EXAMPLE-USER/NEW-REPOSITORY.git
```

1. Remove the temporary local repository you created earlier.

```shell
cd ..
rm -rf OLD-REPOSITORY.git
rm -rf OLD-REPOSITORY
```

## Mirroring a repository that contains {% data variables.large_files.product_name_long %} objects
Expand All @@ -60,7 +60,7 @@ Before you can push the original repository to your new copy, or _mirror_, of th
1. Navigate to the repository you just cloned.
```shell
cd OLD-REPOSITORY.git
cd OLD-REPOSITORY
```
1. Pull in the repository's {% data variables.large_files.product_name_long %} objects.
Expand All @@ -85,7 +85,7 @@ Before you can push the original repository to your new copy, or _mirror_, of th
```shell
cd ..
rm -rf OLD-REPOSITORY.git
rm -rf OLD-REPOSITORY
```
## Mirroring a repository in another location
Expand Down

0 comments on commit e0375fa

Please sign in to comment.