소스 검색

git-backup

master
Robin Thoni 8 년 전
커밋
e485051b5d
1개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  1. 12
    0
      git-backup

+ 12
- 0
git-backup 파일 보기

@@ -0,0 +1,12 @@
1
+#! /usr/bin/env sh
2
+
3
+while read path
4
+do
5
+  echo "Backing up ${path}..."
6
+  cd ${path} &&
7
+    (
8
+      git add -A
9
+      git commit -m "[GIT-BACKUP] $(date)"
10
+      git push origin master
11
+    )
12
+done < /etc/git-backup.conf

Loading…
취소
저장