Hacker News new | ask | show | jobs
by yakshay 4983 days ago
Does the web editor support editing files in a bare repo ?
2 comments

I 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-...

I don't think the editor allows you to create new files.

Does 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.