Questions tagged [version-control]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
39 views

How do you handle changes to xml files across different feature branches?

We have different teams all working in the same Salesforce instance. While these teams usually have their own permission sets/objects/whatever that they work in, there are times when we find ourselves ...
leed38's user avatar
  • 123
0 votes
1 answer
451 views

Visual Studio Code - can we compare Metadata in two orgs

A client is moving away from change sets to Azure Devs Ops. However, for now deployments are done using change sets, The org size is small, and currently no custom code, only config - custom fields, ...
GroundToCloud's user avatar
0 votes
1 answer
47 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 ...
ArthurF's user avatar
  • 13
0 votes
1 answer
137 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: ...
BBaysinger's user avatar
6 votes
3 answers
3k 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 ...
SFDCQUEEN's user avatar
3 votes
1 answer
103 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 ...
Thomas Mcferrin's user avatar
4 votes
1 answer
450 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 ...
Tan343's user avatar
  • 55
4 votes
3 answers
2k 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 ...
thinker's user avatar
  • 1,392
2 votes
1 answer
229 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 ...
Peter Noges's user avatar
  • 1,090
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 ...
Omnia's user avatar
  • 169
4 votes
1 answer
1k 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 ...
Brian Kessler's user avatar
0 votes
2 answers
103 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'...
Semmel's user avatar
  • 2,250
1 vote
1 answer
73 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 ...
salesforce Developer's user avatar
-1 votes
2 answers
232 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 ...
Zoom_v's user avatar
  • 3,836
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 ...
eaeaoo's user avatar
  • 918
4 votes
2 answers
5k 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 ...
user30768's user avatar
  • 151
0 votes
0 answers
52 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 ...
user1761980's 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. ...
Robert Sösemann's user avatar
1 vote
0 answers
170 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 ...
SFDC_Igle's user avatar
  • 692
0 votes
0 answers
30 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 ...
SFDC_Igle's user avatar
  • 692
7 votes
1 answer
389 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 ....
Frank Thomas's user avatar
4 votes
2 answers
862 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 ...
Pasan Eeriyagama's user avatar
0 votes
0 answers
60 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 ...
R.Spark's user avatar
  • 299
3 votes
1 answer
13k 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 ...
manza's user avatar
  • 1,945
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 ...
MadMax's user avatar
  • 948
6 votes
1 answer
538 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 ...
Eric's user avatar
  • 53.9k
0 votes
2 answers
1k 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....
Shumon Saha's user avatar
  • 4,592
0 votes
1 answer
430 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 ...
Tom's 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&...
xross's user avatar
  • 103
3 votes
1 answer
467 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 ...
Shoaib Khan's user avatar
6 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 ...
abd3721's user avatar
  • 2,132
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 >> ...
Dman100's user avatar
  • 2,415
1 vote
0 answers
56 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 ...
Charles Koppelman's user avatar
4 votes
4 answers
245 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 ...
Kevin Jacoby's user avatar
1 vote
1 answer
344 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 ...
Yifei Pei's user avatar
  • 111
4 votes
0 answers
2k 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 ...
Todd's user avatar
  • 193
1 vote
2 answers
148 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 ...
Namrata's user avatar
  • 13
9 votes
1 answer
320 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 ...
Chris Fellows's user avatar
5 votes
0 answers
491 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 ...
richard's user avatar
  • 51
7 votes
1 answer
832 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 (...
Vinicius Santana's user avatar
6 votes
1 answer
307 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 ...
orsan's 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 ...
Ashvin Bhatt's user avatar
1 vote
1 answer
71 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 ...
user18172's 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?...
Adrian Larson's user avatar
  • 149k
1 vote
1 answer
327 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 ...
Walker's user avatar
  • 2,313
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.
Kevin Bellati's user avatar
29 votes
3 answers
7k 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 (...
Benj's user avatar
  • 11.1k
24 votes
2 answers
804 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 (...
Robert Sösemann's user avatar
1 vote
0 answers
89 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 ...
mitchmcc's user avatar
4 votes
1 answer
190 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 ...
Robert Sösemann's user avatar