S
S
StopDesign2012-11-03 19:37:55
git
StopDesign, 2012-11-03 19:37:55

Guerrilla git pull in "unable to unlink old file" conditions?

There is a project under version control (git). Below it is the entire project directory. But for some admin reasons, it belongs to the root user. The admins created folders and files in it that I asked for and set write permissions on them. But I myself cannot delete or create a file in the root directory of the project. I can only edit. And when I try to pull I get this error:

error: unable to unlink old '.gitignore' (Permission denied)

How to make git work in such conditions? Can I somehow ask him to just update the files, and not delete and recreate?
The option "talk to the admins and change the directory structure or permissions" is not being considered yet.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
denver, 2012-11-04
@denver

It's clear. IMHO the main problem is wanting to have .git/ in a production project. It's still flawed - no developer should think it's okay to do a git pull there. It would make perfect sense to keep the turnip in /home/ and then sync it when you've fully tested the current branch. Or set up capifony if this is a common task.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question