Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does the web editor support editing files in a bare repo ?


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: