-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUpdateGithub.sh
executable file
·36 lines (33 loc) · 1017 Bytes
/
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
#!/usr/bin/env sh
#
# UpdateGithub.sh
#
#
# Copyleft 2013-2015 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.
#
git config --global user.name "Luther Blissett"
git config --global user.email luther.blissett@$(hostname)
git pull
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"