Upload file to repository
Files can be uploaded to a repository through the +
action menu in the file list.
Proposal
File upload should be initiated through the same +
action menu.
Browser upload selector opens immediately.
File is added to the active directory in the file tree and is opened in the blob viewer if supported. If it is a text file it should be editable.
The active directory should be:
- the directory of the currently open file,
- or the root directory
Uploading a file should cause the multi-file editor to enter edit mode, if it is not already in edit mode.
When the user is ready, they should be able to commit the files to the selected branch.
Edited by James Ramsay (ex-GitLab)