Skip to content

Instantly share code, notes, and snippets.

@paul1522
Last active July 2, 2017 14:41
Show Gist options
  • Save paul1522/3b3263bb6bb68ed6873bfb74776a74dd to your computer and use it in GitHub Desktop.
Save paul1522/3b3263bb6bb68ed6873bfb74776a74dd to your computer and use it in GitHub Desktop.
git Server Setup Snippets - Setup git User
#!/bin/bash
adduser git
mkdir -p /srv/git
chown git.git /srv/git
chmod 700 /srv/git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment