Skip to content

Latest commit

History

44 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Bash Utils

Clone the repo into ~/bash-utils. Add the following to .bashrc or .zshrc file.

source~/bash-utils/all

SSH Tunnels

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

Git

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

MySQL

Bash utility for pulling databases from remote hosts.

Inspired by https://github.com/loganstellway/mysqldump-remote.

mysqlpull --help

About

💡 Bash utils to facilitate some tasks.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Contributors

Languages