mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-01-10 22:21:11 +08:00
40 lines
2.6 KiB
Markdown
40 lines
2.6 KiB
Markdown
translating---geekpi
|
||
|
||
Archiving repositories
|
||
====================
|
||
|
||
|
||
Just because a repository isn't actively developed anymore and you don't want to accept additional contributions doesn't mean you want to delete it. Now archive repositories on GitHub to make them read-only.
|
||
|
||
[![archived repository banner](https://user-images.githubusercontent.com/7321362/32558403-450458dc-c46a-11e7-96f9-af31d2206acb.png)][1]
|
||
|
||
Archiving a repository makes it read-only to everyone (including repository owners). This includes editing the repository, issues, pull requests, labels, milestones, projects, wiki, releases, commits, tags, branches, reactions and comments. No one can create new issues, pull requests, or comments on an archived repository, but you can still fork archived repositories—allowing development to continue elsewhere for archived open source projects.
|
||
|
||
To archive a repository, go to your Repository Settings Page and click Archive this repository.
|
||
|
||
[![archive repository button](https://user-images.githubusercontent.com/125011/32273119-0fc5571e-bef9-11e7-9909-d137268a1d6d.png)][2]
|
||
|
||
Before archiving your repository, make sure you've changed its settings and consider closing all open issues and pull requests. You should also update your README and description to make it clear to visitors that it's no longer possible to contribute.
|
||
|
||
If you change your mind and want to unarchive your repository, click Unarchive this repositoryin the same place. Please note that most archived repository settings are hidden and you'll have to unarchive the repository to change them.
|
||
|
||
[![archived labelled repository](https://user-images.githubusercontent.com/125011/32541128-9d67a064-c466-11e7-857e-3834054ba3c9.png)][3]
|
||
|
||
To learn more, check out [the documentation][4] on archiving repositories. Happy archiving!
|
||
|
||
--------------------------------------------------------------------------------
|
||
|
||
via: https://github.com/blog/2460-archiving-repositories
|
||
|
||
作者:[MikeMcQuaid ][a]
|
||
译者:[译者ID](https://github.com/译者ID)
|
||
校对:[校对者ID](https://github.com/校对者ID)
|
||
|
||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||
|
||
[a]:https://github.com/MikeMcQuaid
|
||
[1]:https://user-images.githubusercontent.com/7321362/32558403-450458dc-c46a-11e7-96f9-af31d2206acb.png
|
||
[2]:https://user-images.githubusercontent.com/125011/32273119-0fc5571e-bef9-11e7-9909-d137268a1d6d.png
|
||
[3]:https://user-images.githubusercontent.com/125011/32541128-9d67a064-c466-11e7-857e-3834054ba3c9.png
|
||
[4]:https://help.github.com/articles/about-archiving-repositories/
|