Skip to content

Delete directory from the web

You can now delete an entire directory of files including subdirectories from your web browser:

  1. Browse to the directory in the repository and branch that you want to delete
  2. In the top-right corner, click "…", and then Delete directory
  3. Review the list of files
  4. Depending on your permissions and the branch protection rules, choose to either commit the change directly or propose the change using a pull request

Learn more about deleting a file or directory

GitHub Advanced Security is an add-on to GitHub Enterprise which allows you to use security features like code scanning, secret scanning, and dependency review on your private repositories. To help administrators configure these features, the repository and organization settings now include controls on the use of GitHub Advanced Security features on private repositories.

Public repositories are unaffected and can access GitHub Advanced Security features by default.

Learn more about enabling Advanced Security features on GitHub.com

See more