Simple linux tool for automation git push process.
Under the hood it makes three things:
- adds a change in the working directory to the staging area;
- commit changes;
- push changes in the current remote branch.
- Clone the current repository:
git clone https://github.com/GolovPavel/pusher.git; - Install
gdebipackage, if you do not have it:sudo apt-get install gdebi; - Go to the pusher directory:
cd pusher; - Install pusher package:
sudo gdebi "pusher.deb".
- Clone the current repository:
git clone https://github.com/GolovPavel/pusher.git; - Make
pusherscript executable:sudo chmod +x pusher/bin/pusher; - Copy script to the one of the
$PATHdirectories. For example:cp pusher/bin/pusher /usr/local/bin. - Restart shell.
Push to the remote repository all local changes with some message:
pusher "Some message"
Push to the remote repository all local changes with default message:
pusher
The default message is Empty commit message.
When you type pusher command, you must be in the local repository directory.