HTTP/2 301
content-length: 0
location: https://docs.github.com/en/repositories/working-with-files/managing-files
HTTP/2 200
access-control-allow-origin: *
content-security-policy: default-src 'none';prefetch-src 'self';connect-src 'self';font-src 'self' data:;img-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com data: placehold.it;object-src 'self';script-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' data:;script-src-attr 'self';frame-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com https://support.github.com https://www.youtube-nocookie.com;frame-ancestors 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com;style-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' 'unsafe-inline' data:;child-src 'self';manifest-src 'self';upgrade-insecure-requests;base-uri 'self';form-action 'self'
cross-origin-opener-policy: same-origin
cross-origin-resource-policy: same-origin
origin-agent-cluster: ?1
referrer-policy: no-referrer-when-downgrade
x-content-type-options: nosniff
x-dns-prefetch-control: off
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-xss-protection: 0
cache-control: public, max-age=60
x-powered-by: Next.js
content-type: text/html; charset=utf-8
x-github-backend: Kubernetes
x-github-request-id: ED6C:31FD8:D26800:F3792D:687536FF
content-encoding: gzip
accept-ranges: bytes
date: Mon, 14 Jul 2025 16:57:38 GMT
via: 1.1 varnish
age: 1
x-served-by: cache-bom4747-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1752512255.355925,VS0,VE2732
vary: Accept-Encoding
strict-transport-security: max-age=31557600
content-length: 22024
Managing files - GitHub Docs Skip to main content Create & manage repositories Manage repository settings Customize your repository Manage repository settings Manage protected branches
Managing files You can create, edit, move, and delete files in a repository, directly on GitHub or on the command line.
You can create new files directly on GitHub in any repository you have write access to.
You can upload and commit an existing file to a repository on GitHub or by using the command line.
You can move a file to a different directory on GitHub or by using the command line.
You can edit files directly on GitHub in any of your repositories using the file editor.
You can rename any file in your repository directly in GitHub or by using the command line.
You can delete an individual file or an entire directory in your repository on GitHub.
To keep certain files from displaying in diffs by default, or counting toward the repository language, you can mark them with the linguist-generated
attribute in a .gitattributes file.