From 48b19a5d1442355be06687c21c3ae72a5614755f Mon Sep 17 00:00:00 2001 From: Peter Hoffmann Date: Sat, 21 Apr 2018 03:22:02 +0200 Subject: [PATCH] Explanation for missing releases (#3823) Searched for missing releases/tags for some time, thought the solution might be helpful to others --- docs/content/doc/help/troubleshooting.en-us.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/content/doc/help/troubleshooting.en-us.md b/docs/content/doc/help/troubleshooting.en-us.md index 1b2a52ca81..264a20ef52 100644 --- a/docs/content/doc/help/troubleshooting.en-us.md +++ b/docs/content/doc/help/troubleshooting.en-us.md @@ -66,3 +66,17 @@ In this case, look into the following settings: * `usermod` or `chsh` can be used to modify this. * Ensure that the `gitea serv` command in `.ssh/authorized_keys` uses the correct configuration file. + +## Missing releases after migrating repository with tags + +To migrate an repository *with* all tags you need to do two things + +* Push tags to the repository: +``` + git push --tags + ``` + + * (Re-)sync tags of all repositories within gitea: + ``` + gitea admin repo-sync-releases + ```