Skip to content

Commit

Permalink
Fix sentence structure in "Backing up a repository"
Browse files Browse the repository at this point in the history
  • Loading branch information
hsnabszhdn committed Mar 24, 2024
1 parent ffe538b commit 53b328d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ If the repository includes {% data variables.large_files.product_name_long %} ob
git lfs fetch --all
```

Once you have cloned the Git repository, you can compress it into an archive (for example a `.zip` or `.tar.gz` file) and move it a location for safe-keeping.
Once you have cloned the Git repository, you can compress it into an archive (for example a `.zip` or `.tar.gz` file) and move it to a location for safe-keeping.

You can restore your backup by decompressing the archive and then pushing the Git repository to a Git remote.

## Backing up a wiki with the Git CLI

Wikis in {% data variables.product.prodname_dotcom %} are stored as Git repositories. This means that you can back up a wiki by cloning it. For more details on how to clone a wiki using Git, see "[AUTOTITLE](/communities/documenting-your-project-with-wikis/adding-or-editing-wiki-pages#cloning-wikis-to-your-computer)."

Once you have cloned the wiki, you can compress it into an archive (for example a `.zip` or `.tar.gz` file) and move it a location for safe-keeping.
Once you have cloned the wiki, you can compress it into an archive (for example a `.zip` or `.tar.gz` file) and move it to a location for safe-keeping.

You can restore your backup by decompressing the archive and then pushing the wiki repository to a Git remote.

Expand Down

0 comments on commit 53b328d

Please sign in to comment.