Source control for Power Platform: make changes reviewable (7/15)
People sometimes tell me source control does not suit low-code because "the exported files are ugly". They are not wrong about the files. But source control is not about pretty files. It is about having a reliable history of what changed, who changed it and why.
What you actually get
Once solutions live in a repository, three things become possible that were very hard before:
- History — you can see what a solution looked like at any release.
- Review — a second person can look at a change before it moves on.
- Collaboration — two makers can work without overwriting each other's intent.
None of that needs a sophisticated branching model. It needs consistency.
Unpack the same way every time
A solution export is a zip file, and a zip file is useless in a diff. Unpack it into its component files with the same tooling and the same settings every time.
If the unpack step changes between releases, formatting noise will hide the real changes and reviewers will stop reading. Consistency is what makes a pull request readable.
Keep the repository boring
A structure I find easy to follow:
- one folder for unpacked solution source;
- one for environment configuration, such as deployment settings, without secrets;
- one for pipeline definitions.
Tag the exact solution version used for each promotion, so "what is in production?" has a one-line answer.
What can go wrong
A repository without conventions becomes a second unmanaged environment. Generated files get edited by hand, secrets slip into configuration, and nobody trusts the history.
The fix is rules people can remember: never commit secrets, never edit generated files directly, and always export through the agreed command.
I would rather have a modest repository with predictable exports and meaningful pull requests than a clever branching strategy nobody follows. Consistency is the real accelerator.
A practical next step
Export one solution, unpack it with a repeatable command and open the first pull request — even if the only reviewer is a colleague reading it over coffee. The first one is the hardest. The tenth one is just how you work.
Sources
References used for this article. Links open in a new tab.