10 lines
214 B
Bash
10 lines
214 B
Bash
|
#!/usr/bin/env bash
|
||
|
set -euo pipefail
|
||
|
|
||
|
cd /usr/local/bin/ignition/data/projects || exit
|
||
|
|
||
|
NOW=$(date +"%m-%d-%Y %H:%M:%S")
|
||
|
actor="${1}"
|
||
|
git add "${@:2}"
|
||
|
git commit -m "Designer save by $actor @ $NOW"
|
||
|
git push origin
|