Created
April 26, 2018 03:01
-
-
Save vprasanth/f917f91b76f25ded575da37560e8be24 to your computer and use it in GitHub Desktop.
my funcs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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