문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 | 다음 판 양쪽 다음 판 | ||
git:as_backup [2020/09/06 19:19] kwon37xi [cron 등록] |
git:as_backup [2020/09/06 19:19] kwon37xi [주기적 백업을 수행할 shell script 생성] |
||
---|---|---|---|
줄 32: | 줄 32: | ||
<code sh> | <code sh> | ||
NOWT=$(date +" | NOWT=$(date +" | ||
+ | cd / | ||
git add . | git add . | ||
git commit -m "$NOWT Automated git push" | git commit -m "$NOWT Automated git push" |