#Oh My Zsh - Git Cheat Sheet
g – git
gst – git status
gl – git pull
gup – git pull --rebase
| git --no-pager branch | grep -v "^\*" | grep -v "master" | xargs -n 1 git branch -D |
#Oh My Zsh - Git Cheat Sheet
g – git
gst – git status
gl – git pull
gup – git pull --rebase
| const CATCH_ALL_ERR_MSG = | |
| "We weren’t able to determine what the error was based on the server response."; | |
| /** | |
| * window.fetch does not throw an error for common HTTP errors; 404, 503, etc. | |
| * Here we check its `ok` key to determine if there's n HTTP error. | |
| * If so, throw an error so any users can `catch`. | |
| * | |
| * @param {Object} res - A Response object from fetch | |
| */ |
| # iterm alias command | |
| alias cleanrep="git branch --merged | egrep -v '(master|develop)' | xargs git branch -d" |