Skip to content

Instantly share code, notes, and snippets.

View aryomuzakki's full-sized avatar

Muhammad Aryo Muzakki aryomuzakki

View GitHub Profile
@aryomuzakki
aryomuzakki / create-bare-repo.sh
Last active June 21, 2023 08:12
Bash command in ubuntu to create a bare git repo and post commit hooks to start node js with pm2
#!/bin/bash
# USAGE:
# command example.com [OPTIONS]
#
# args desc
# example.com the domain name
#
# options args desc
# --app-name short-app-name required if --pm2-start is yes