Skip to content

devemio/bash-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Languages