These instructions describes an AB-test development for OSX
##Dependencies & Instructions
-
Install Homebrew through your command line
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install master/install)"
-
Install Git via Homebrew. Run
brew install git
in your command line. -
Install Legit via Homebrew. Run
brew install legit
in your command line followed bylegit install
##Start a new project
- Go to gist.github.com and login with you Github account
- Name your file (e.g changes.js)
- Add a comment to the code section
/** This is a description of the foo function. */
- Hit the Create secret Gist -button
- Copy the SSH or the HTTPS Clone URL for your Gist
- 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. eggit 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.
git sync
to sync previous changes to your local branchgit add --all
to add all your local filesgit commit -m "Describe your changes"
to commit your changes with comments describing changesgit push
to save the new version on your remote server