1 # Copyright © 2016-2019 RebornOS
3 # This file is part of RebornOS.
5 # Reborn OS is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # Reborn OS is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # The following additional terms are in effect as per Section 7 of the license:
17 # The preservation of all legal notices and author attributions in
18 # the material or in the Appropriate Legal Notices displayed
19 # by works containing it is required.
21 # You should have received a copy of the GNU General Public License
22 # along with Reborn OS; If not, see <http://www.gnu.org/licenses/>.
26 # checking if you have the latest files from github
27 echo "Checking for newer files online first"
30 # Below command will backup everything inside the project folder
33 # Give a comment to the commit if you want
34 echo "####################################"
35 echo "Write your commit comment!"
36 echo "####################################"
40 # Committing to the local repository with a message containing the time details and commit text
42 git commit -m "$input"
44 # Push the local files to github
46 git push -u origin master
48 echo "################################################################"
49 echo "################### Git Push Done ######################"
50 echo "################################################################"