RebornOS cnchi Gnome based install code
修訂. | a02f21fe326f7544220cae6b0b5c88e43aad5f2b |
---|---|
大小 | 1,740 bytes |
時間 | 2021-01-18 05:09:47 |
作者 | Rafael Costa Rega |
Log Message | 2021.01.14 Update
|
# Copyright © 2016-2019 RebornOS
#
# This file is part of RebornOS.
#
# Reborn OS is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# Reborn OS is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# The following additional terms are in effect as per Section 7 of the license:
#
# The preservation of all legal notices and author attributions in
# the material or in the Appropriate Legal Notices displayed
# by works containing it is required.
#
# You should have received a copy of the GNU General Public License
# along with Reborn OS; If not, see <http://www.gnu.org/licenses/>.
#!/bin/bash
# checking if you have the latest files from github
echo "Checking for newer files online first"
git pull
# Below command will backup everything inside the project folder
git add --all .
# Give a comment to the commit if you want
echo "####################################"
echo "Write your commit comment!"
echo "####################################"
read input
# Committing to the local repository with a message containing the time details and commit text
git commit -m "$input"
# Push the local files to github
git push -u origin master
echo "################################################################"
echo "################### Git Push Done ######################"
echo "################################################################"