You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
github-help/Deleting files 删除文件.md

18 lines
955 B
Markdown

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

Deleting files 删除文件
===========
可以删除任何在 GitHub 库中的文件
*提示:如果被删的文件你将没有访问它的权限,我们将会 fork 这个项目到你的账户下并且当你提交改变时帮你[发送 pull 请求](Using pull requests 使用 pull 请求.md)到原来的库*
1.浏览你要删除的文件
2.在文件顶部,点击删除图标
3.当你删除文件时输入提交信息描述,且点击 Commit 来提交改变到库
![](https://help.github.com/assets/images/help/repository/commit_message_summary.png)
*注意:由于 Git 是一个版本控制系统,它总是有备份如果你需要恢复的文件后。如果你真的需要因为一些原因从库中完全删除一个文件,如一些敏感的文件,你应该遵循下面的步骤,见[关于删除敏感数据](Remove sensitive data 删除敏感数据.md)*
*参考*<https://help.github.com/articles/deleting-files/>