Skip to content

Commit

Permalink
feat: Basic
Browse files Browse the repository at this point in the history
  • Loading branch information
pablocorbalann committed Jan 27, 2021
1 parent 034672a commit e4ffd91
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .scripts/push.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This script is used to push all the changes to the github repository.
# Before pushing the changes it removes all the cache options as well
# as the C object options.
#
# To run this script use:
# sh push.sh <commit-flag> <commit-msg>
if ![ -x "$(command -v git)"]
then
echo "ERROR: git is not installed..."
exit 1
fi
git pull
rm -rf client/trojan/*.o
git add .
git commit -m "$1: $2"
git push

0 comments on commit e4ffd91

Please sign in to comment.