Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add aliases

* Add `unstage` alias to remove files from git staging
* Sort Heroku aliases
* Rename Heroku aliases as ACTION-ENVIRONMENT, like tail-staging
  • Loading branch information...
commit 056495d3f4fd07f3afbad7f9c5b0f4b0b0d61bd7 1 parent 515a9b7
Adarsh Pandit authored
Showing with 12 additions and 10 deletions.
  1. +12 −10 aliases
View
22 aliases
@@ -40,6 +40,8 @@ alias gca='git commit -a'
alias prune='git remote prune origin'
+alias unstage='git reset HEAD'
+
# Testing
alias s='clear && bundle exec rspec'
alias cuc='clear && bundle exec cucumber'
@@ -69,25 +71,25 @@ alias tmux="TERM=screen-256color-bce tmux"
alias -g L='| wc -l'
alias -g ONE='| awk '{ print \$1}''
-# Heroku Deploy
-alias deploy-staging='git push staging && heroku run rake db:migrate --remote staging'
-alias deploy-production='git push production && heroku run rake db:migrate --remote staging'
-
# Heroku console
alias staging='heroku run console --remote staging'
alias production='heroku run console --remote production'
+# Heroku Deploy
+alias deploy-staging='git push staging && heroku run rake db:migrate --remote staging'
+alias deploy-production='git push production && heroku run rake db:migrate --remote staging'
+
# Heroku log tailing
-alias staging-tail='heroku logs --tail --remote staging'
-alias production-tail='heroku logs --tail --remote production'
+alias tail-staging='heroku logs --tail --remote staging'
+alias tail-production='heroku logs --tail --remote production'
# Heroku proceses
-alias staging-process='watch heroku ps --remote staging'
-alias production-process='watch heroku ps --remote production'
+alias process-staging='watch heroku ps --remote staging'
+alias process-production='watch heroku ps --remote production'
# Heroku releases
-alias staging-releases='heroku releases --remote staging'
-alias production-releases='heroku releases --remote production'
+alias releases-staging='heroku releases --remote staging'
+alias releases-production='heroku releases --remote production'
# Heroku databases
alias db-pull-staging='heroku db:pull --remote staging --confirm `basename $PWD`-staging'
Please sign in to comment.
Something went wrong with that request. Please try again.