Skip to content

Instantly share code, notes, and snippets.

@simondahla
Last active August 29, 2015 14:09
Show Gist options
  • Save simondahla/e87507e01e0a689b8468 to your computer and use it in GitHub Desktop.
Save simondahla/e87507e01e0a689b8468 to your computer and use it in GitHub Desktop.

AB-test workflow

These instructions describes an AB-test development for OSX

##Dependencies & Instructions

  1. Install Homebrew through your command line ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install master/install)"

  2. Install Git via Homebrew. Run brew install git in your command line.

  3. Install Legit via Homebrew. Run brew install legit in your command line followed by legit install

##Start a new project

  1. Go to gist.github.com and login with you Github account
  2. Name your file (e.g changes.js)
  3. Add a comment to the code section /** This is a description of the foo function. */
  4. Hit the Create secret Gist -button
  5. Copy the SSH or the HTTPS Clone URL for your Gist
  6. Open your command line and run git clone, paste the URL and write a name of the folder where you want to save the files. eg git clone https://gist.github.com/simondahla/9599432 Test1

##Save your changes When ready to save a new version of your code run the following commands.

  1. git sync to sync previous changes to your local branch
  2. git add --all to add all your local files
  3. git commit -m "Describe your changes" to commit your changes with comments describing changes
  4. git push to save the new version on your remote server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment