.gitignore for Move
2 ignore rules for Move, ready to copy into your repository.
Resource-oriented programming language
The complete .gitignore for Move
# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-08-05 02:26:46 UTC
# Technologies: Move
### Move ###
# Build output directory
build/
.aptos/
What these Move rules actually ignore
Every pattern below, and why it belongs in your .gitignore.
General
| Pattern | What it ignores |
|---|---|
build/ |
Build output directory |
Remove possibly saving credentials to the git repository
| Pattern | What it ignores |
|---|---|
.aptos/ |
Remove possibly saving credentials to the git repository |
How to use this .gitignore for Move
- Copy the Move 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.