21 ms·
sudo -u nobody git pull That said, "nobody" will have its own challenges, like the lack of a $HOME meaning there is no git config file for the user, meaning yo
by chatmasta 4y ago
sudo -u nobody git pull
That said, "nobody" will have its own challenges, like the lack of a $HOME meaning there is no git config file for the user, meaning you'll need to add a bunch of specific arguments to every git command. You might want to create a locked down user just for running git.