Answer the question
In order to leave comments, you need to log in
How to work with git in directories requiring sudo?
For example, I need to clone a repository to /var/node
(via ssh, preferably via a bash script). Just adding sudo doesn't work. What to do? And so that you can work later (git pull, etc.)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question