Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Shopify Application Development

You're reading from   Shopify Application Development Build highly effective Shopify apps using the powerful Ruby on Rails framework

Arrow left icon
Product type Paperback
Published in May 2014
Publisher
ISBN-13 9781783281053
Length 106 pages
Edition Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Michael Larkin Michael Larkin
Author Profile Icon Michael Larkin
Michael Larkin
Arrow right icon
View More author details
Toc

Setting up source control


At this point, it's a good idea to add our code to a hosted source control. This serves two purposes: the first is that it gives us a record of incremental changes made to each code file, and also acts as an off-site backup in case our development machine gets damaged or has a hard drive failure.

We'll be using Git (http://git-scm.com) as our Source Control Management (SCM) tool. If you don't have Git installed on your system, please follow the relevant installation instructions on the site. Additionally, we're going to use GitHub (http://github.com) as our off-site backup. There are other popular alternatives such as Bitbucket (http://bitbucket.org) or Unfuddle (http://unfuddle.com) that work just as well.

The workflow may vary depending on which service you use, but in general setting up a new repository involves the following steps:

  1. Create a repository on the hosted service of your choice.

  2. Initialize a new local repository using the following command:

    git init.
    
  3. Add...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image