Skip to main content

Cette version de GitHub Enterprise Server n'est plus disponible depuis le 2024-09-24. Aucune publication de correctifs n’est effectuée, même pour les problèmes de sécurité critiques. Pour de meilleures performances, une sécurité améliorée et de nouvelles fonctionnalités, effectuez une mise à niveau vers la dernière version de GitHub Enterprise. Pour obtenir de l’aide sur la mise à niveau, contactez le support GitHub Enterprise.

Marking issues or pull requests as a duplicate

Mark an issue or pull request as a duplicate to track similar issues or pull requests together and remove unnecessary burden for both maintainers and collaborators.

For a "marked as duplicate" timeline event to appear, the user who creates the duplicate reference comment must have write access to the repository where they create the comment.

Marking duplicates

To mark an issue or pull request as a duplicate, type "Duplicate of" followed by an issue or pull request number in the body of a new comment.

You can also use the GitHub-provided saved replies, "Duplicate issue" or "Duplicate pull request." For more information, see "À propos des réponses enregistrées."

Screenshot of an issue timeline, with a comment by octocat that says "Duplicate of #97" and a timeline event that says "octocat marked this as a duplicate of #97."

Unmarking duplicates

You can unmark duplicate issues and pull requests by clicking Undo in the timeline. This will add a new timeline event, indicating that the issue or pull request was unmarked.

Screenshot of an issue timeline. To the right of a timeline event about the issue being marked as duplicate, a button, labeled "Undo", is outlined in dark orange.