Last active
August 29, 2015 14:15
-
-
Save Bonno/3c6d81f75af53a317430 to your computer and use it in GitHub Desktop.
Webdev cli-aliasses
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
# Flush magento cache/fullpagecache | |
alias flush='setopt rmstarsilent && rm -rf var/cache/* && rm -rf var/full_page_cache/* && unsetopt rmstarsilent' | |
# Return the current branch name | |
alias repo='git rev-parse --abbrev-ref HEAD' | |
alias gpo='git push origin' | |
alias gb='git br' | |
# Set the upstream for the current branch | |
alias gbu='git branch --set-upstream `repo` origin/`repo`' | |
alias gn='git new' | |
# Alias to merge current branch to preview-branch | |
alias gpr='git preview `repo`' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment