.gitignore for AL
10 ignore rules for AL, ready to copy into your repository.
Programming language for Business Central
The complete .gitignore for AL
# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-08-05 01:30:04 UTC
# Technologies: AL
### AL ###
.alcache/
.alpackages/
.snapshots/
.output/
# Application bundle
*.app
rad.json
*.g.xlf
*.flf
TestResults.xml
# ## AL ###
# Visual Studio Code settings
.vscode/
What these AL rules actually ignore
Every pattern below, and why it belongs in your .gitignore.
## AL ###
| Pattern | What it ignores |
|---|---|
.vscode/ |
Visual Studio Code settings |
Cache folder
| Pattern | What it ignores |
|---|---|
.alcache/ |
Cache folder |
Symbols folder
| Pattern | What it ignores |
|---|---|
.alpackages/ |
Symbols folder |
Snapshots folder
| Pattern | What it ignores |
|---|---|
.snapshots/ |
Snapshots folder |
Testing Output folder
| Pattern | What it ignores |
|---|---|
.output/ |
Testing Output folder |
Extension App-file
| Pattern | What it ignores |
|---|---|
*.app |
Application bundle |
Rapid Application Development File
| Pattern | What it ignores |
|---|---|
rad.json |
Rapid Application Development File |
Translation Base-file
| Pattern | What it ignores |
|---|---|
*.g.xlf |
Translation Base-file |
License-file
| Pattern | What it ignores |
|---|---|
*.flf |
License-file |
Test results file
| Pattern | What it ignores |
|---|---|
TestResults.xml |
Test results file |
How to use this .gitignore for AL
- Copy the AL rules above, or download the file directly.
- Create a file named .gitignore at the root of your Git repository and paste the rules into it.
- If some of those files are already tracked, run git rm -r --cached . then commit again — Git only applies ignore rules to untracked files.
- Commit the .gitignore so everyone on the team shares the same rules.