From 8d81f152ed7c9f8264beb09b5aae7724729d6601 Mon Sep 17 00:00:00 2001 From: pferdefleisch Date: Tue, 10 Jan 2012 03:09:52 -0800 Subject: [PATCH] Added rails3, made git consistent with code sections --- Cheatsheet.textile | 38 ++++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/Cheatsheet.textile b/Cheatsheet.textile index f190892..d513ad2 100644 --- a/Cheatsheet.textile +++ b/Cheatsheet.textile @@ -29,15 +29,29 @@ h2. Dynamic access to current branch name with the current_branch function * @grb publish $(current_branch) origin@ h2. Helpful aliases for common git tasks -* @g@ - git -* @gst@ - git status -* @gl@ - git pull -* @gup@ - git fetch && git rebase -* @gp@ - git push -* @gd@ - git diff | mate -* @gdv@ - git diff -w "$@" | vim -R - -* @gc@ - git commit -v -* @gca@ - git commit -v -a -* @gco@ - git checkout -* @gb@ - git branch -* @gba@ - git branch -a \ No newline at end of file +* @g@ - @git@ +* @gst@ - @git status@ +* @gl@ - @git pull@ +* @gup@ - @git fetch && git rebase@ +* @gp@ - @git push@ +* @gd@ - @git diff | mate@ +* @gdv@ - git diff -w "$@" | vim - +* @gc@ - @git commit -v@ +* @gca@ - @git commit -v -a@ +* @gco@ - @git checkout@ +* @gb@ - @git branch@ +* @gba@ - @git branch -a@ + +h1. Rails3 + +* @rc@ - @rails console@ +* @rd@ - @rails destroy@ +* @rdb@ - @rails dbconsole@ +* @rdbm@ - @rake db:migrate db:test:clone@ +* @rg@ - @rails generate@ +* @rp@ - @rails plugin@ +* @rs@ - @rails server@ +* @rsd@ - @rails server --debugger@ +* @devlog@ - @tail -f log/development.log@ +* @rdm@ - @rake db:migrate@ +* @rdr@ - @rake db:rollback@ \ No newline at end of file