From 646bf928b171c901971f793b4676c427f8d59c23 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 --- doc/help/troubleshooting.en-us.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/help/troubleshooting.en-us.md b/doc/help/troubleshooting.en-us.md index 1b2a52ca..264a20ef 100644 --- a/doc/help/troubleshooting.en-us.md +++ b/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 + ```