.gitignore for µVision
28 ignore rules for µVision, ready to copy into your repository.
IDE for embedded development
The complete .gitignore for µVision
# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-08-05 01:28:52 UTC
# Technologies: µVision
### µVision ###
*.uvguix.*
# Object file
*.o
*.uvgui.*
*.i
*.lst
# Object file
*.obj
*.elf
*.m51
*.m66
*.map
*.axf
*.b[0-2][0-9]
*.b3[0-1]
# Backup file
*.bak
*.build_log.htm
*.crf
*.d
*.dep
*.htm
*.iex
*.lnp
*.sbr
*.bin
*.h86
# Hex dump file
*.hex
.bat
.ini
JLinkLog.txt
What these µVision rules actually ignore
Every pattern below, and why it belongs in your .gitignore.
General
| Pattern | What it ignores |
|---|---|
*.uvguix.* |
µVision 5 and µVision 4 Project screen layout file |
*.uvgui.* |
General |
Object files
| Pattern | What it ignores |
|---|---|
*.o |
Object file |
*.obj |
Object file |
*.elf |
Object files |
Listing Files
| Pattern | What it ignores |
|---|---|
*.i |
Listing Files |
*.lst |
Listing Files |
*.m51 |
Listing Files |
*.m66 |
Listing Files |
*.map |
Listing Files |
Object Files
| Pattern | What it ignores |
|---|---|
*.axf |
Object Files |
*.b[0-2][0-9] |
Object Files |
*.b3[0-1] |
Object Files |
*.bak |
Backup file |
*.build_log.htm |
Object Files |
*.crf |
Object Files |
*.d |
Object Files |
*.dep |
Object Files |
*.htm |
Object Files |
*.iex |
Object Files |
*.lnp |
Object Files |
*.sbr |
Object Files |
Firmware Files
| Pattern | What it ignores |
|---|---|
*.bin |
Firmware Files |
*.h86 |
Firmware Files |
*.hex |
Hex dump file |
Build Files
| Pattern | What it ignores |
|---|---|
.bat |
Build Files |
Debugger Files
| Pattern | What it ignores |
|---|---|
.ini |
Debugger Files |
JLink Files
| Pattern | What it ignores |
|---|---|
JLinkLog.txt |
JLink Files |
How to use this .gitignore for µVision
- Copy the µVision 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.