Skip to content

Instantly share code, notes, and snippets.

@danie7k
Created November 22, 2016 16:51
Show Gist options
  • Save danie7k/261bae49960836959bfa1ca8752f33a6 to your computer and use it in GitHub Desktop.
Save danie7k/261bae49960836959bfa1ca8752f33a6 to your computer and use it in GitHub Desktop.
Run console command as another user
sudo -H -u www-data git status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment