Questions tagged [version-control]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
44 views

Is regular date for deployment beneficial? [closed]

The company is thinking about introducing a proper version control/source control. Within this process is considered an idea to introduce a regular date for deployment to production, for example every ...
user avatar
  • 13
0 votes
1 answer
65 views

Are there any features for developing HTML emails locally and using version control?

So far my work with Salesforce is for HTML emails in Content Builder. I don't see any obvious features that would allow our team to do various things that would help streamline development, such as: ...
user avatar
4 votes
1 answer
616 views

Compare differences between two versions of a flow

Is there a way or a workaround anyone knows of to compare the differences between two versions of a flow? I'd love to be able to track those changes and compare differences at a glance. I'll ...
user avatar
3 votes
1 answer
90 views

Question about Unorganized Org/Sandboxes

So I'm fairly green when it comes to development. I left a company that had an insanely structured enterprise Salesforce organization with many teams and joined one that I'm realizing is pretty much ...
user avatar
4 votes
1 answer
292 views

Tracking changes to code for personal use

I usually practise often in my developer edition, and that also involves writing Apex classes as well as components. It happens that on a particular day, I save a class and a few days later, I edit it ...
user avatar
  • 55
4 votes
2 answers
747 views

Salesforce CI/CD: Only deploy changed elements and components

TL;DR Does the salesforce CLI have built in features that allow you to only deploy changes to a CI/CD pipeline? Problem Currently, wanting to move our non-profit to a CI/CD development model rather ...
user avatar
  • 1,298
2 votes
1 answer
169 views

Using Apex to mimic semantic string versioning (to validate “increment only” logic to a text field that represents semantic version

Hey versioning experts, Has anyone used Apex to construct a semantic version bumper? Im looking to implement an Apex-driven "versioning" concept to a custom app, functioning somewhat similar ...
user avatar
  • 1,080
8 votes
3 answers
2k views

Version Control For Salesforce — Branching Strategy

I want to take my company to the next level - and start implementing Version Control and also CI/CD workflow process. I tried investigating a bit, and also start working with BitBucket - but just ...
user avatar
  • 139
4 votes
1 answer
969 views

Is it possible to partially deploy flexipages with Sfdx?

I'm currently struggling to get our Salesforce into a version control system with the "source" metadata format. And, of course, I want this repo to be deployable. After about 16 ours of ...
user avatar
0 votes
2 answers
67 views

Do you actually need a develop branch when using git? [closed]

So I know that basically every git project hast a master and a develop branch. This works for most of my Salesforce projects except for one. In that project, there are no releases - 99% of the time it'...
user avatar
  • 2,006
1 vote
1 answer
66 views

TFVC vs GIT For Salesforce [closed]

We are planning to use CICD for Salesforce development, for that we are going to use TFS. In TFS we can create both TFVS and GIT type of repository. What is the difference between these two with ...
user avatar
-1 votes
2 answers
181 views

Deployment versioning between sandboxes [closed]

We are currently having problems attempting version control between several sandboxes. We would like to be able to confirm when Sandbox_A is in synch with Sandbox_B. We are thinking we can just name a ...
user avatar
  • 3,740
0 votes
1 answer
23 views

Can I add metadata (new fields) with respect to apexClass, apexPage, AuraDefinitionBundle

Is it possible to add new fields to "code" objects like apexClass, apexPage, auraDefinitionBundle? Basically, trying to add legacy code to version control while continuing to use sandboxes - moving ...
user avatar
  • 888
3 votes
2 answers
4k views

Version error when uploading Change Set

I’m trying to deploy custom objects, custom fields, page layouts, compact layouts, Lightning pages and Global value set (global picklist) , when uploading changeset it is giving me API version error ...
user avatar
  • 141
0 votes
0 answers
44 views

Does anyone know how to use Beanstalk as version control with Salesforce?

We are using Beanstalk for our WordPress application developments. So we like to have all our business applications including Salesforce customization and codes together in one place. Is it possible ...
user avatar
12 votes
3 answers
1k views

Efficiently merge handle parallel feature branches in SFDX

Imagine a team of 5 developers using DX scratch orgs (using Salesforce' Falcon Template) for working on multiple features in parallel. They start from a clean packaging org and a clean Git master. ...
user avatar
1 vote
0 answers
154 views

salesforce deployment from Git with Docker cloud

I need way to deploy code from Git to salesforce using Docker Cloud or Docker. I needed senior's suggestions and sources on deployment from Git to to salesforce especially with docker and i found way ...
user avatar
  • 692
0 votes
0 answers
27 views

Github to salesforce deployment [duplicate]

I need to find a way to deploy code from GitHub to salesforce using Docker Cloud or Docker because my client requested it. I needed senior's suggestions on deployment from GitHub to to salesforce with ...
user avatar
  • 692
7 votes
1 answer
294 views

Is there a XSD for validating metadata XML files?

So in order to run many parallel projects, we are exporting our metadata to XML within version control. As a result we often have to merge changes from multiple projects that affect the same file (a ....
user avatar
4 votes
2 answers
741 views

How to utilize Devhub for Managed Package development?

I'm trying out the capabilities of DevHub, in order to get product development from DE to DX org. This Trailhead helped me learning Devhub and DX+CLI functionalities. I'm thinking of a way to migrate ...
user avatar
0 votes
0 answers
48 views

handle defect resolution after deploy codes into UAT

Our team has just started using source control to manage the source code, we have multiple scrum teams which work in various projects. Current environment setup is one shared development sandbox, one ...
user avatar
  • 299
3 votes
1 answer
10k views

Git: no changes in this file have been detected, or it is a binary file

I have refreshed a sandbox a few weeks ago and since then all the files in the repository are "marked" like if there was a difference but they are not, showing the message: No changes in this file ...
user avatar
  • 1,889
10 votes
1 answer
3k views

Accidentally created wrong directory then pushed, deleted directory now can't push

When creating lightning components with sfdx I was giving the full path, force-app/main/default/aura when I was already in the directory that I wanted to place the component in. Therefore I created ...
user avatar
6 votes
1 answer
521 views

SFDX Development Process - Managed Package and VCS

For those who have an existing MDAPI Managed Package and are migrating to SFDX. I know we need to have a permanent MDAPI Org for the packaging (duh) but my question stems around SFDX and VCS. Is my ...
user avatar
  • 53.2k
0 votes
2 answers
846 views

What is the best practice to update <version/> in package.xml?

For example, The current <version/> should be 40.0 (Summer '17). However, the latest MavensMate (v0.0.11-beta.7) uses 34.0. What are some best practices for updating <version/> in package....
user avatar
  • 4,532
0 votes
1 answer
356 views

merging profiles from different branches/orgs

would appreciate some suggestions on this problem I'm having. Essentially it has to do with making a change to a profile, say a field permission and then propagating that through the other ...
user avatar
  • 1
0 votes
1 answer
20 views

Exchanging metadata with local-directory

I have salesforce sandbox and IDE (I want to go around the fact, the IDE can download repo). My question is quite hipotetically. Is there some tool similiar to SourceTree, which could be able to pull&...
user avatar
  • 103
3 votes
1 answer
451 views

Development Life Cycle of using GIT in salesforce. [duplicate]

I need guidance regarding the Development Life Cycle of using GIT in salesforce. How to test the latest code that I fetch from the GIT to eclipse. ?? What i'm upto this, is that, after syncing the ...
user avatar
5 votes
1 answer
1k views

How can I get better diffs when looking at Salesforce metadata

Sometimes when I look at changes to Salesforce metadata using a git diff tool like SourceTree it is not clear what's actually changed. If one block of XML has been deleted and another one inserted the ...
user avatar
  • 2,022
4 votes
1 answer
3k views

Connect GIT project with Eclipse Force.com project

I'm using Eclipse MARS v2 and Force.com IDE v36. I am trying to get Eclipse connected to a GIT project I just cloned down to a local directory on my drive: My Computer >> My Documents >> ...
user avatar
  • 2,353
1 vote
0 answers
33 views

Script to bulk git-add changes to permissionsets/profiles

I use git for revision control of my Salesforce metadata. I often make minor changes (adding or removing a class, field, etc) that have massive repercussions on all PermissionSet and Profile metadata ...
user avatar
4 votes
4 answers
225 views

Are there any well documented code review processes and tools for Apex code changes?

We have quite a few Apex classes now. Our current process involves far too much copying and pasting, so we would like to be able to track changes to code as well as perform code review on anything ...
user avatar
1 vote
1 answer
330 views

What to put on stash in Salesforce?

Normally, we put everything on stash. e.g. use Eclipse to fetch all metadata, and upload the whole folder on stash. However, every time we commit changes, there are a lot of changes to make since ...
user avatar
4 votes
0 answers
1k views

merge tool for salesforce profiles - can it be done?

I am implementing git for our salesforce team. I've got some slick python scripts that retrieve/deploy to the cloud and it's all good except for a few situations which are pretty painful. I hope ...
user avatar
  • 183
1 vote
2 answers
141 views

About version Control

We thought of implementing version controlling so we planned to use git tool,bit Bucket and eclipse. In eclipse using Git(Git Repository Exploring) we are able push/fetch the changes from remote ...
user avatar
  • 13
9 votes
1 answer
263 views

How to maintain Process Flows in source control?

Salesforce appends a version number to the metadata file name. This prevents us from tracking in source control, since Git tracks files by name. Any good methods of tracking flows in git or other ...
user avatar
5 votes
0 answers
483 views

Team Foundation Server as source control for Salesforce Project?

Does anybody has experience on using Team Foundation Server as source control for Salesforce project? We are currently using Git but management wants to start using TFS as source control going ...
user avatar
  • 51
7 votes
1 answer
793 views

How to work with a team of developers and version control with svn for Apex and Lightning Components?

We have been trying to figure out a way to work as a Team on a salesforce project using Apex and lightning components. I envision a scenario where each developer would have his/hers own org (...
user avatar
6 votes
1 answer
292 views

Atlassian Salesforce - UAT / master branch

We want to use Atlassian products to trace our Salesforce code. I begun reading the documentation https://developer.atlassian.com/display/SFDC/The+Salesforce+Development+Workflow I didn't understand ...
user avatar
  • 415
1 vote
0 answers
43 views

Integrated Version Control planned release

I came to know from a post that Integrated Version Control feature is going to be released into pilot in Winter or Spring '15 but there is no clue in summer '15 release either. There is a idea ...
user avatar
1 vote
1 answer
69 views

version control

We need a system that allows multiple admins and developers to make changes in salesforce meta data and merge them while resolving conflicts in an automated by as possible. Anyone have good free ...
user avatar
17 votes
4 answers
2k views

Best Practice - Lightning JS (Code reuse, testing frameworks and IDE support)

I asked about the difference between controller and helper and it prompted me to ask another, more specific set of questions: What is the best way to reuse JavaScript code across Lightning Components?...
user avatar
  • 143k
1 vote
1 answer
307 views

Version Control and deployment with Setup menu and Dev console

If i choose to do customization and coding through Setup menu and Developer console in my dev sandbox without using Force.com IDE plugin with eclipse, what process should i follow to use version ...
user avatar
  • 2,213
11 votes
3 answers
2k views

Git for Salesforce

Do you use Git with Salesforce? What are the key challenges that you have encountered in using Git for Salesforce? We are about to make a decision on Git, and would like to learn from this community.
user avatar
29 votes
3 answers
6k views

Flows/Processes, Version Control and CI

I've started using Processes and Flows and am really excited about these features -- but am still wrapping my mind about how to manage them in Version Control (which I use) and Continuous Integration (...
user avatar
  • 10.9k
24 votes
2 answers
803 views

Version Control tightly integrated into the Platform - is this coming?

Besides my disappointment that this years Dreamforce did not bring any notable improvements for isv and partners that mainly use the platform, I stumbled over this screenshot in this Platform EBook (...
user avatar
1 vote
0 answers
88 views

Apex class will NOT save locally

I am fairly new to SF development, and I have a SF sandbox and am using Eclipse along with Subclipse and SVN to manage it. I created a new test class under classes, and added it to SVN. It shows up ...
user avatar
4 votes
1 answer
188 views

How to connect separate Eclipse Patch Org project to Git(hub) remote branch of another Eclipse project?

Patch orgs in Salesforce.com are somewhat comparable to release branches in a Versioning Control system as both represent different timelines of the same codebase. I just switched from Subversion to ...
user avatar
19 votes
2 answers
3k views

Best practices for Versioning managed packages in Git

I know this is not the right place for general questions about versioning control. But Salesforce.com projects are someone special from regular local Java/.NET projects. That is why you find many ...
user avatar
0 votes
1 answer
113 views

Finding & Evaluating Salesforce Backup & Recovery Service Providers

Realize that anything a third-party Salesforce backup & recovery service is able to do in theory I am able to do, but short-term, I am more focused on deploying Salesforce, than recovering it. ...
user avatar
  • 1,598