About file deletion
You can delete an individual file in your repository.
If you try to delete a file in a repository that you don’t have write permissions to, we'll fork the project to your personal account and help you send a pull request to the original repository after you commit your change. For more information, see "About pull requests."
If the file you deleted contains sensitive data, the data will still be available in the repository's Git history. To completely remove the file from GitHub AE, you must remove the file from your repository's history. For more information, see "Removing sensitive data from a repository."
Deleting a file
-
Browse to the file in your repository that you want to delete.
-
At the top of the file, click .
-
ページの下部で、ファイルに対して行った変更を説明する短く分かりやすいコミットメッセージを入力してください。 コミットメッセージでは、複数の作者にコミットを関連づけることができます。 詳しい情報については「複数の共作者を持つコミットの作成」を参照してください。
-
コミットメッセージフィールドの下で、コミットを追加を現在のブランチか新しいブランチから選択してください。 現在のブランチがデフォルトブランチなら、コミット用に新しいブランチを作成してからPull Requestを作成すべきです。 詳しい情報については「新しいプルリクエストの作成」を参照してください。
-
[Propose file change] をクリックします。