Archive for the ‘git’ category

How to deploy a git tag to Heroku

January 26th, 2012

Simple:

git push heroku tag_name:master –force

The –force is not normally needed, but i needed it because i’d already deployed git head, so needed this to avoid git complaints

Quick notes on creating a local git branch and pushing it into the wild

December 6th, 2010
  1. Checkout the branch you want to switch from
    git checkout branch_to_branch_from
  2. Create the local branch
    git branch branch_name
  3. Switch to the branch
    git checkout branch_name
  4. Push to Remote
    git push origin branch_name