Clone the repo into ~/bash-utils
. Add the following to .bashrc
or .zshrc
file.
source ~/bash-utils/all
Create tunnel
# localhost:13306 => localhost:3306 on remote.host
tunnel 13306:localhost:3306 ubuntu@remote.host
Active tunnels
tunnel ls
Kill all tunnels
tunnel kill
Commit all changes
# git add . && git commit -m 'Commit message'
ci Commit message
Commit all changes and push them
# git add . && git commit -m 'Commit message' && git push
cip Commit message
Move remote existing tag 0.1.0
to HEAD
and push it
git-move-tag 0.1.0
Bash utility for pulling databases from remote hosts.
Inspired by https://github.com/loganstellway/mysqldump-remote.
mysqlpull --help