Skip to content

Instantly share code, notes, and snippets.

@guillermorangel
Last active September 9, 2020 01:38
Show Gist options
  • Save guillermorangel/e6533deee036e575fe3b9b02781a6122 to your computer and use it in GitHub Desktop.
Save guillermorangel/e6533deee036e575fe3b9b02781a6122 to your computer and use it in GitHub Desktop.
Helpful Console Commands
rm /usr/local/var/postgres/postmaster.pid
yarn run stylelint -q app/assets/**/*.scss
bundle exec erblint "app/**/*.{html,js,svg,text}{+*,}.erb"
git config --global alias.rom '!TMP_CURR_BRANCH=$(git branch --show-current) && git checkout master && git pull && git checkout $TMP_CURR_BRANCH && git rebase master && unset TMP_CURR_BRANCH'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment