This version of GitHub Enterprise was discontinued on 2023-01-18. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.
You can create, edit, move, and delete files in a repository, directly on GitHub Enterprise Server or on the command line.
Creating new files
You can create new files directly on GitHub Enterprise Server in any repository you have write access to.
Adding a file to a repository
You can upload and commit an existing file to a repository on GitHub Enterprise Server or by using the command line.
Moving a file to a new location
You can move a file to a different directory on GitHub Enterprise Server or by using the command line.
You can edit files directly on GitHub Enterprise Server in any of your repositories using the file editor.
Renaming a file
You can rename any file in your repository directly in GitHub Enterprise Server or by using the command line.
Deleting files in a repository
You can delete an individual file or an entire directory in your repository on GitHub Enterprise Server.
Customizing how changed files appear 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-generatedattribute in a .gitattributes file.