I\'m trying to add a ruby rails file to my repository in gitlab but it somehow wouldn\'t allow me to add the file saying that my file does not have commit checked out.
I had the same error Message. I fixed it by deleting the file which causes the error from my Directory.
I hope this helps =)