Last active
February 3, 2017 08:04
-
-
Save francois-dibulo/bfbab3b2be76e485cff63f34fb89032d to your computer and use it in GitHub Desktop.
Bash-Profile Useful Commands (Mac OS)
This file contains 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
### GIT ### | |
# Show not merged branches | |
alias gitnotmerged="git branch --no-merged master" | |
# Delete all merged branches | |
alias gitclean='git branch --merged | grep -v "\*" | xargs -n 1 git branch -d' | |
# Update all submodules | |
alias gitupdatesub="git submodule foreach git pull origin master" | |
### OTHER ### | |
# Makes a zip of the current directory | |
alias zipthis="zip -r -X archive.zip ." | |
# Android Log output of a cordova app | |
alias adb_log_chrome="adb -d logcat chromium:D *:S" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment