-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathUpdateGithub.sh
executable file
·56 lines (48 loc) · 1.32 KB
/
UpdateGithub.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
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/env sh
#
# UpdateGithub.sh
#
#
# Copyleft 2013 Luca Cappelletti <[email protected]>
#
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# Version 2, December 2004
#
# Copyright (C) 2004 Sam Hocevar <[email protected]>
#
# Everyone is permitted to copy and distribute verbatim or modified
# copies of this license document, and changing it is allowed as long
# as the name is changed.
#
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
#
# 0. You just DO WHAT THE FUCK YOU WANT TO.
#
APPNAME="Springseed"
git config --global user.name "mutek"
git config --global user.email [email protected]
echo "Aggiungo i cambiamenti al database locale"
git add .
echo "Inserisci una descrizione dei tuoi cambiamenti"
read n
echo "Eseguo la finalizzazione dei cambiamenti in locale"
git commit -a -m "$n"
echo "Invio i cambiamenti locali al deposito remoto..."
git push origin master
echo "ok"
# official GitHub tips:
#
#Create a new repository on the command line
#
#touch README.md
#git init
#git add README.md
#git commit -m "first commit"
#git remote add origin https://github.com/mutek/$APPNAME.git
#git push -u origin master
#
#Push an existing repository from the command line
#
#git remote add origin https://github.com/mutek/$APPNAME.git
#git push -u origin master