-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbackGITup.sh
41 lines (35 loc) · 959 Bytes
/
backGITup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
#================================================================================
# Program Name: backGITup.sh
# Author: Kyle Reese Almryde
# Date: today
#
# Description:
#
#
#
# Deficiencies:
#
#
#
#
#
#================================================================================
# FUNCTION DEFINITIONS
#================================================================================
#================================================================================
# START OF MAIN
#================================================================================
UTL='/usr/local/Utilities'
CLASS='/Users/kylealmryde/Dropbox/CLASS'
# cd ${UTL}
# cd ${CLASS}
# git add . -A
# git commit -m "Routine commit and backup"
# git push
for dir in $UTL $CLASS; do
cd $dir
git add . -A
git commit -m "Routine commit and backup"
git push
done