5 ms·
Does the web editor support editing files in a bare repo ?
by yakshay 14y ago
Does the web editor support editing files in a bare repo ?
- sytse 14y agoI assume you mean an empty repo (without any files) and not a bare repo? A bare repo has no working copy and is pushable, see http://stackoverflow.com/questions/2199897/how-to-convert-a-git-repository-from-normal-to-bare http://stackoverflow.com/questions/2199897/how-to-convert-a-... I don't think the editor allows you to create new files.
- davvid 14y agoDoes the web editor support editing files in a bare repo ? Yes. The trick is that lib/gitlab/file_editor.rb checks the file out, modifies it, commits it, and removes it. I read this from one of the comments in the original post.