Unix
ci.sh
#!/bin/bash
echo "Checking in..."
git add .
if [ -z "$1" ]
then
git commit -a -m "cleanup"
else
git commit -a -m "$1"
fi
git push
echo "Done!"
=====
chmod 755 ci.sh
# JR
export PATH=$PATH:~/scripts
A blog about creating valuable software
ci.sh
#!/bin/bash
echo "Checking in..."
git add .
if [ -z "$1" ]
then
git commit -a -m "cleanup"
else
git commit -a -m "$1"
fi
git push
echo "Done!"
=====
chmod 755 ci.sh
# JR
export PATH=$PATH:~/scripts