Managing files on GitHub
On GitHub Enterprise Server, you can create, edit, move, and delete files in a repository.
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 GitHub Enterprise Server repository. Drag and drop a file to any directory in the file tree, or upload files from the repository's main page.
Moving a file to a new location
When editing a file, you can choose to move it anywhere within your repository, even if the directory doesn't exist.
Editing files in your repository
You can edit files directly on GitHub Enterprise Server in any of your repositories using the file editor.
Editing files in another user's repository
Tracking changes in a file
You can trace changes to lines in a file and discover how parts of the file evolved over time.
Deleting files in a repository
You can delete an individual file in your repository on GitHub Enterprise Server.
Renaming a file
You can rename any file in your repositories directly in GitHub Enterprise Server. Renaming a file also gives you the opportunity to move the file to a new location.
Getting permanent links to files
When viewing a file on your GitHub Enterprise Server instance, you can press the "y" key to update the URL to a permalink to the exact version of the file you see.