Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [sourcecontrol]

The tag has no usage guidance.

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

Is pushing all changes on one branch on Git a great idea?

We didn't use much Git during development and we created multiple functionalities. Is pushing all changes on one branch a great idea or should we create one branch for every feature? Advantages: we ...
user avatar
-3 votes
1 answer
43 views

Is there anyone who has knowledge/experience on bit bucket with salesforce [closed]

My requirement is when I do any changes to my sandbox then I can also fetch to my local system and can commit those changes to feature branch.
user avatar
2 votes
1 answer
715 views

Create Scratch Org Definition file

To create a scratch org, a Scratch Org definition file should be created. Is there any way to identify the list of features and settings required? Note: Our org has a lot of features as it is ...
user avatar
0 votes
1 answer
1k views

Source Tracked vs Non-Source-Tracked org

What's the difference between these 2 kind of orgs? It seems Trailhead Playgrounds orgs I am creating are non-source-tracked org and certain CLI commands can't be run against it. How I can identify ...
user avatar
0 votes
1 answer
334 views

VS Code project structure not matching IntelliJ and Repo

I joined a team who do not like to use VS code as it doesn't match the source GIT and their IntelliJ IDE's do. Is there any way to "fix" this in VScode? VS Code: Showing content under the normal ...
user avatar
3 votes
1 answer
1k views

Set up Git in IntelliJ with Illuminated Cloud

I’m new to source control (git in our case) and have just set up a development flow with CI using Gearset. That’s all well and good (and working fine). But, I also want to set up VCS within my IDE (...
user avatar
  • 1,007
3 votes
1 answer
2k views

sfdx is removing metadata from permission sets when changing read/write to false

I updated some permissions sets in my package and change some field-level security access to read/write false for some objects. When I run sfdx force:source:pull instead of marking the XML as <...
user avatar
  • 2,584
0 votes
2 answers
181 views

Pushing all of Salesforce metadata into VCS [closed]

How do you begin to pull all the metadata of Salesforce Production Org so that everything could be tracked in a Version Control System.How do I create that complete package.xml which will pull ...
user avatar
  • 183
0 votes
2 answers
229 views

Single Source of Truth for Org Development Model [closed]

I think that the SSoT (single source of truth) is VCS (e.g. Git) Am I right?
user avatar
  • 687
2 votes
1 answer
2k views

Working with GIT and org code in VS code for a single sandbox

We have our existing code repository in GitHub. This code is in folder structure resembling eclipse IDE forlder structure(or probably they call it metadata structure), like src --> classes --> myclass....
user avatar
  • 2,450
4 votes
1 answer
672 views

SFDX development 'without ScratchOrg and Unlocked Packages' with Git [closed]

I think that the first reaction that anyone will have after reading my question will be 'Why do you want to move to DX without using ScratchOrgs and Unlocked Packages'? Well, we are planning to use ...
user avatar
4 votes
1 answer
2k views

Error: Cannot find module '@oclif/config'

I already sort of asked this question but there doesn't seem to be a solution for it. So I figured I would ask a new question about work arounds people have done. When running any form of sfdx ...
user avatar
  • 3,177
3 votes
1 answer
3k views

Usage of cli command - sfdx force:source:convert

I used force:source:retrieve to retrieve the given list of components (classes, workflows etc) and committed the files to git. Now I want to deploy these components to higher environments like QA and ...
user avatar
  • 335
0 votes
0 answers
47 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,899
5 votes
2 answers
688 views

Are there ever exceptions to the one trigger per object rule?

I know from this blog post and this answer that a one trigger design pattern per object is ideal. Are there ever exceptions to that rule? If so, what are they? Here is my situation to argue that ...
user avatar
  • 2,698
15 votes
0 answers
1k views

Salesforce DX: How to track custom objects' changes in custom profiles?

Salesforce DX does not track some of the changes I make on my scratch org. How to reproduce a problem: Create a custom profile -> sfdx force:source:pull Create a custom object -> sfdx force:...
user avatar
1 vote
0 answers
28 views

Eclipse Neon updates server with components I haven't saved

Running Eclipse Neon 4.6.0 and Force.com IDE 37, and whenever I have it set to build automatically and work online, when saving changes to a component I'm finding multiple components updated that I ...
user avatar
0 votes
2 answers
76 views

How do I create a robust deployment process?

Apologies for the broad question, but there's considerable detail to add here in the body that wouldn't fit in the title. I need to craft a deployment approach for our dev sprints that aligns to our ...
user avatar
2 votes
1 answer
55 views

Prevent creation of default pages and classes when enabling Community

I'm working on a project for which we have enabled a community on a sandbox. We have removed most of the pages and classes that were automatically generated when a community or site is created (for ...
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
5 votes
0 answers
480 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
0 votes
2 answers
254 views

Source Code Control and Migration

I am hunting for the best(Free/low cost) option through which i can manage my organisation's code in some repository and also make it configure so that i can deploy changes to other org as well. I ...
user avatar
  • 2,485
1 vote
1 answer
497 views

Agile Accelerator (GUS) Source Control connector

Since this is a managed package I am not able to dig into the code and figure out how stuff works but it appears that the SF Agile Accelerator AKA GUS has links into GIT and a couple of other source ...
user avatar
  • 599
0 votes
1 answer
224 views

Automation Deployment of Declarative and Imperative Components

This is a slightly large Architectural question. Within Salesforce you have many components. Those components are either declarative or imperative (like APEX and VF). As implementations get larger the ...
user avatar
1 vote
2 answers
220 views

Should all available metadata be managed in a VCS?

I'm setting up a git repository for an SFDC project across a team of developers. I think I should commit all metadata comprising the full org so we can manage changes in addition to the usual ...
user avatar
  • 2,564
2 votes
1 answer
590 views

How to work with open source SFDC Packages and source control?

Question How do you keep your installation of open source salesforce packages update to date and track changes if you're not using managed packages? Background As Salesforce matures there are more ...
user avatar
6 votes
1 answer
517 views

What limits are there on Patch Orgs?

I'm looking to learn about what limits apply to Patch Orgs. For example: How many patch orgs can I spawn off one release? Can I upload unlimited versions from a patch org as long as they don't add ...
user avatar
2 votes
0 answers
71 views

Multiple developers on one git repository [duplicate]

I have a git repository with code from salesforce instance. The SF project is managed in eclipse (keppler version with egit plugin). I ignored the package and schema files in order to prevent ...
user avatar
  • 379
5 votes
1 answer
693 views

How to detect ant retrieve failure in script?

Question Is there a way to detect if an ant retrieve call fails due to a login issue? Background I've got a pretty basic bash script that uses ant to retrieve the latest changes from our production ...
user avatar