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
# shortform git commands | |
alias g='git' | |
# count relevant lines of shell code in a git repo | |
egrep -v '^\s*($|#)' $(git grep -l '#!/bin/.*sh' *) | wc -l | |
# push all remotes | |
for i in `git remote`; do git push $i; done; | |
# cherry pick range of commits, starting from the tip of 'master', into 'preview' branch |