Skip to content

Instantly share code, notes, and snippets.

View kinobi's full-sized avatar

Lionel Brianto kinobi

View GitHub Profile
[alias]
changelog = "!_() { t=$(git describe --abbrev=0 --tags); git log ${t}..HEAD --no-merges --pretty=format:'* %s'; }; _"
@kinobi
kinobi / mysqldump_over_ssh.sh
Last active December 10, 2015 04:08 — forked from kirkegaard/dumpoverssh.sh
Récupérer un dump d'une base en local
mysqldump -u MYSQL_USERNAME -pYOUR_PASSWORD YOUR_DATABASE | ssh USERNAME@YOUR_TO_HOST 'cat > ~/dump.sql'