Skip to content

Instantly share code, notes, and snippets.

@russ
Forked from cardplayer/gist:11671
Created September 19, 2008 23:16
Show Gist options
  • Select an option

  • Save russ/11685 to your computer and use it in GitHub Desktop.

Select an option

Save russ/11685 to your computer and use it in GitHub Desktop.

Revisions

  1. russ revised this gist Sep 19, 2008. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,5 @@
    # Make your changes
    work work work
    git commit
    git commit -m "Your commit message"
    git co joshp/staging
    git merge master
    git co joshp/production
  2. jpasqualetto created this gist Sep 19, 2008.
    17 changes: 17 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    # Make your changes
    work work work
    git commit
    git co joshp/staging
    git merge master
    git co joshp/production
    git merge master
    git push
    git co master

    # Push files to live servers
    Terminal
    ssh joker.cardplayer.com
    cd /root/cardplayer
    git co production
    cap deploy:upload FILES="your files"
    git co master