-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdoit.sh
executable file
·42 lines (30 loc) · 1.01 KB
/
doit.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
42
echo "Running doit.sh"
## To forcce init .git remove the # in the git line below
### BE SURE AND PUT IT BACK
################################
# rm -rf .git
#################################
## This will automatically set up a repository after remixing or force-deleting
if [ ! -d ".git" ]; then
git init
git add .
git status
echo "**********************************************"
echo "git repository created"
echo
echo "remove the comments from the commit section of .doit.sh and commit"
echo "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
else
echo "git repository exists"
fi
########################################################3
## To do a commit, uncomment the git lines below, edit with your information
# And your commit message
# Then trigger by changing DO-IT
git status
git config user.name 'Mike Wolf'
git config user.email '[email protected]'
git commit -am "changes in README file"
###########################################3
# git status
# git checkout "README.md"