Skip to content

Instantly share code, notes, and snippets.

@vprasanth
Created April 26, 2018 03:01
Show Gist options
  • Save vprasanth/f917f91b76f25ded575da37560e8be24 to your computer and use it in GitHub Desktop.
Save vprasanth/f917f91b76f25ded575da37560e8be24 to your computer and use it in GitHub Desktop.
my funcs
# my docker functions
dps () {
docker ps;
}
dstop () {
docker stop $1;
}
dre () {
docker restart $1;
}
changelog () {
git log --oneline --no-merges $1..$2;
}
lines () {
cat $1 | wc -l;
}
pushnew () {
git push -u --no-verify origin $(git branch | grep \* | awk '{print $2}');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment