Loading tutorials
sf). It records which metadata components changed in your local project and which changed in an org. With that record, the CLI can move only the differences instead of everything. This chapter explains the problem it solves, the basic model, and 6 min readsfdx-project.json and a force-app directory. It also assumes the sf CLI is i6 min readsfdx-project.json, force-app), have the sf CLI installed with an org authorized, and know basic Git. The earlier chapters covered what source tracking is and which orgs support it. This chapter explains how the CLI decides which com6 min readsf project deploy start, and use Git on the command line. It covers the files the Salesforce CLI writes locally to remember what has changed. You need this knowledge when tracking misbehaves, when you clone a project onto7 min read.forceignore file tells the Salesforce CLI to skip these files. This chapter covers how the file works, how its patterns 5 min readforce-app directory, the sf CLI installed, and an authorized scratch org or sandbox with source tracking enabled. It also assumes you know basic Git and command-line usage. The goal is to use the preview commands to see what a deploy o6 min readsfdx-project.json, force-app), you have the sf CLI installed, and you have authorized an org. It also assumes you know the earlier chapters' ideas: tracked orgs such as scratch orgs record changes, and .forceignore keeps files out6 min readsf CLI installed. It also assumes you know what a metadata component is. Earlier chapters explained how tracking works and how to preview and deploy. Here you will pull changes made in the 5 min readsf CLI installed, and an authorized scratch org or tracked sandbox. It also assumes you can run basic Git commands and that you know what an Apex class or a custom object is. Earlier chapters covered how tracking records changes. This chap6 min readsf project deploy and sf project retrieve, a scratch org or sandbox with tracking enabled, and basic Git commands (status6 min readsf project deploy preview and sf project retrieve preview against a scratch org or sandbox with tracking. It also assumes you know that tracking state lives under the .sf directory and that a conflict means both sides changed the same component. If those are un6 min readsfdx-project.json, force-app), have the sf CLI installed with an org authorized, and can use basic Git. It also assumes you have met the idea of source tracking from earlier chapters: the CLI records which components changed 6 min read.forceignore does. It also assumes you can use basic Git commands: clone, branch, commit, merge, and pull. The chapter covers how Git and source tracking divide the work, what to commi6 min readsf project deploy start and sf project retrieve start. It also assumes you know what a tracked org is (a scratch org or a tracked sandbox) and that you have met conflicts and .forceignore in earlier chapters. Here you will learn a repeatable way to diagnose tra6 min read