diff --git a/content/pull-requests/collaborating-with-pull-requests/working-with-forks/detaching-a-fork.md b/content/pull-requests/collaborating-with-pull-requests/working-with-forks/detaching-a-fork.md index c90c21e04037..3f41d1f4a44a 100644 --- a/content/pull-requests/collaborating-with-pull-requests/working-with-forks/detaching-a-fork.md +++ b/content/pull-requests/collaborating-with-pull-requests/working-with-forks/detaching-a-fork.md @@ -48,7 +48,7 @@ You can delete a fork and recreate the same repository, without the connection t ```shell cd FORK-NAME.git - git push --mirror https://github.com/EXAMPLE-USER/FORK-NAME.git + git -c "safe.bareRepository=all" push --mirror https://github.com/EXAMPLE-USER/FORK-NAME.git ``` 1. Remove temporary local clone you created earlier.