UHCodeRED / CodeRED-Toolbelt

A set of conventions to help organize our development of CodeRED

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CodeRED ToolBelt

Requirements

Your gonna need some basic necessities like

  • node/npm recommended version v0.12.x
  • git recommended version v2.1.*

Here is a good link to get you started with setting up your git config -l: Github and Git
* Disregard the ruby stuff. Also for the record, I dont recommend using homebrew to install node/npm. Things can get messy.

Using sudo isn't recommended so:

sudo chown -R `whoami` /usr/local

While you're at it:

git config --global push.default simple

Git Aliases

  1. Copy/Paste the git aliases from CodeRED.aliases into your ~./gitconfig
  2. See ALIASES for more info
  • git bl
  • git blr
  • git co
  • git fe
  • git fi
  • git mi
  • git up
  • git cm
  • git sync
  • git bdone

Bash Profile

Make your prompt look like:

me@my-pc ~/some/repo (branch-name) $

Add CodeRED.bash_profile to your ~./bash_profile

Commiting

Commits must follow CONVENTIONS

  • You can clean up commits messages with:

    git rebase master -i

    then using squash (merge commit msg) or reword followed with:

    git push -f

Pull Request

  • If your branch falls behind master then use (see note about conflicts):

    git sync

    if no conflicts:

    git push -f

About

A set of conventions to help organize our development of CodeRED