An introduction to using Git version control to manage changes in the metadata of your Salesforce Org as you develop your apps.
Your app is put into an unmanaged package, copied to your local machine with Force.com CLI and changes pushed to Github using Github for Mac/Windows client.
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Dreamforce14 Metadata Management with Git Version Control
1. Managing changes in your
Salesforce Org with Git
agileforce.co.uk
John Stevenson
@jr0cket
2. Safe Harbor
Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve
risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com,
inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of
historical fact could be deemed forward-looking, including any projections of subscriber growth, earnings, revenues, or other financial items and any
statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or
upgraded services or technology developments and customer contracts or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our
service, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in
our Web hosting, breach of our security measures, risks associated with possible mergers and acquisitions, the immature market in which we operate,
our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service
and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise
customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form
10-K for the most recent fiscal quarter ended July 31, 2011. This document and others are available on the SEC Filings section of the Investor
Information section of our Web site.
Any unreleased services or features referenced in this or other press releases or public statements are not currently available and may not be delivered
on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available.
Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
3. Why manager changes in
your Salesforce Org?
agileforce.co.uk
John Stevenson
@jr0cket
4. Keeping a record of change
Understand:
•what has been built
•when something has been added or changed
•who added that feature / bug
5. So, what is Git ?
agileforce.co.uk
John Stevenson
@jr0cket
6. Say goodbye to Centralised version control
No more merge days (weeks)
No longer tied to the network
No more waiting for the server
to respond
7. So what is Git
A distributed version control system
Based on “change sets”, rather than files
Easy to merge changes between branches & repositories
Working
Copy
Staging
Local
Repository
Github
Repository
14. So, what is Github ?
agileforce.co.uk
John Stevenson
@jr0cket
15. “Social Coding” with Github
Create repositories on Github and
share your code with the world
Features:
Forking – create your own copy of a
repository on Github
Pull Requests – ask that your change be
reviewed and added to someone else’s
repository
16. Getting Started with Github
Github account from github.com
Optionally:
- Add a Public key to your account
- Add 2-factor authentication to your account
17.
18. Lets use Git & Github to
manage our Salesforce Org
agileforce.co.uk
John Stevenson
@jr0cket
43. Where to go next…
agileforce.co.uk
John Stevenson
@jr0cket
44. Resources
5pm Tuesday
Using Force.com CLI to quickly build, control and
automate Salesforce apps
Git Cheetsheet
developer.salesforce.com/page/Cheat_Sheets
agileforce.co.uk
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
12:30 – Let’s see this in action.
FORCE CLI is here: https://force-cli.heroku.com/
More info:
http://www.wadewegner.com/2013/11/a-command-line-interface-for-forcecom/
Recommended demo path: login, show off some Query statements and then create a simple custom object and field
(ie force sobject create Random_Object Description:text)
Highlight that:
As a platform, we expose our functionality in lots of ways. We think in terms of REST and SOAP, but we also extend things like our metadata API and Tooling API for utilities like this one.
This is a command line utility which can be looped into other things like build and continous intergration tools.
12:30 – Let’s see this in action.
FORCE CLI is here: https://force-cli.heroku.com/
More info:
http://www.wadewegner.com/2013/11/a-command-line-interface-for-forcecom/
Recommended demo path: login, show off some Query statements and then create a simple custom object and field
(ie force sobject create Random_Object Description:text)
Highlight that:
As a platform, we expose our functionality in lots of ways. We think in terms of REST and SOAP, but we also extend things like our metadata API and Tooling API for utilities like this one.
This is a command line utility which can be looped into other things like build and continous intergration tools.
12:30 – Let’s see this in action.
FORCE CLI is here: https://force-cli.heroku.com/
More info:
http://www.wadewegner.com/2013/11/a-command-line-interface-for-forcecom/
Recommended demo path: login, show off some Query statements and then create a simple custom object and field
(ie force sobject create Random_Object Description:text)
Highlight that:
As a platform, we expose our functionality in lots of ways. We think in terms of REST and SOAP, but we also extend things like our metadata API and Tooling API for utilities like this one.
This is a command line utility which can be looped into other things like build and continous intergration tools.
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live
The magic button that gets you into the developer world of Salesforce1 Platform
Show a screenshot – maybe a quick tour live