You already have a Git server
8 hours ago
- #deployment
- #SSH
- #git
- Clone a git repository on a server with SSH using git clone ssh://username@hostname/path/to/repo.
- Push changes by configuring git with git config receive.denyCurrentBranch updateInstead to allow pushes to checked-out branches.
- Automate deployments by creating a post-update hook script in .git/hooks to run commands like a static site generator on push.