Commit 1e70362f authored by Nick Gaskill's avatar Nick Gaskill

Merge branch 'docs-cross-link-ex-import-to-templates' into 'master'

Clarify import-from-template docs content

See merge request gitlab-org/gitlab!70709
parents 55fe4b1a ec67a125
...@@ -139,6 +139,11 @@ The following items are **not** exported: ...@@ -139,6 +139,11 @@ The following items are **not** exported:
- Any encrypted tokens - Any encrypted tokens
- Merge Request Approvers - Merge Request Approvers
These content rules also apply to creating projects from templates on the
[group](../../group/custom_project_templates.md)
or [instance](../../admin_area/custom_project_templates.md)
levels, because the same export and import mechanisms are used.
NOTE: NOTE:
For more details on the specific data persisted in a project export, see the For more details on the specific data persisted in a project export, see the
[`import_export.yml`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/import_export/project/import_export.yml) file. [`import_export.yml`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/import_export/project/import_export.yml) file.
...@@ -255,13 +260,13 @@ reduce the repository size for another import attempt. ...@@ -255,13 +260,13 @@ reduce the repository size for another import attempt.
git reflog expire --expire=now --all git reflog expire --expire=now --all
git gc --prune=now --aggressive git gc --prune=now --aggressive
# Prepare recreating an importable file # Prepare recreating an importable file
git bundle create ../project.bundle smaller-tmp-main git bundle create ../project.bundle smaller-tmp-main
cd .. cd ..
mv project/ ../"$EXPORT"-project mv project/ ../"$EXPORT"-project
cd .. cd ..
# Recreate an importable file # Recreate an importable file
tar -czf "$EXPORT"-smaller.tar.gz --directory="$EXPORT"/ . tar -czf "$EXPORT"-smaller.tar.gz --directory="$EXPORT"/ .
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment