Show
Destroy
An entry
Get it down. Make it good. Share it.
Title
Text
#### find a system process by the name "pow" ps -la | grep pow #### Basic Rails rake tasks bundle exec rake # runs all tests bundle exec rake jobs work # runs delayed_jobs bundle exec spork # runs Spork. # used for testing bundle exec rake db:seed # load database seeds bundle exec rake db:reset # rebuild the database from migrations ### Git git init # create a Git repository based on the current location git branch # see what branch you're on, and get a list of branches git branch <new_branch_name> # create a branch called git checkout <branch> # switch to the specified git checkout <filename> # abandon the changes and revert to the latest commit # basically, the is an "undo" git add . # stage all files to be committed git commit -m " # commits changes with a checkin note git stash # stashes the current changes git stash list # lists all stashes git stash apply stash@{0} # apply a specified stash to the current branch git reflog # get a list of changes git reset --hard # reset the HEAD to a specific state (hint: use get the from reflog git reset --hard 22b6805 # an example git branch -d # to delete a local branch git push : # to delete a remote branch (note the prepended colon) # GIT FLOW # git flow init git flow feature start # creates a new feature branch git flow feature publish # publishes the feature branch by pushing to remote feature branch git flow feature finish # merges the feature branch to the develop branch # grouped_options_for_select( ) - a Rails form helper used to build multi-level drop down menus, using html tags # find a process by the name "pow" ps -la | grep pow
Status
idea
draft
release
personal
Series
Part of a Series?
Bitcoin
On Work
Phoenix Trello Tutorial
Civics
Re Email Address
Tags
commands
×
programming
×
unix
×
+
Slug
Url
Image 1
Image 2
Image 3
Visible
Date