# Is excluding .uprojectdirs files from the Git allowlist intentional?

**URL:** <https://forums.unrealengine.com/t/is-excluding-uprojectdirs-files-from-the-git-allowlist-intentional/2846601>\
**Category:** Feedback & Requests\
**Tags:** unreal-engine, Engine-Source-GitHub\
**Created:** [October 29, 2026, 9:26am UTC](https://forums.unrealengine.com/t/is-excluding-uprojectdirs-files-from-the-git-allowlist-intentional/2846601 "2026-10-29T09:26:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SilentGarud](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/silentgarud/32/1216315_2.png) [@SilentGarud](https://forums.unrealengine.com/u/SilentGarud)\
**Post date:** [October 29, 2026, 9:26am UTC](https://forums.unrealengine.com/t/is-excluding-uprojectdirs-files-from-the-git-allowlist-intentional/2846601/1 "2026-10-29T09:26:33Z")

</div>

I’m using a source build of Unreal Engine with Rider and noticed something about the root `.gitignore`.

I renamed the project in Rider from “Default” to “UnrealEngine”, which renamed `Default.uprojectdirs` to `UnrealEngine.uprojectdirs`. Git then reported the original file as deleted, while the replacement was ignored.

The root `.gitignore` uses an allowlist, but there doesn’t appear to be an exception for `.uprojectdirs` files. The existing `Default.uprojectdirs` is already tracked, so Git continues detecting changes to it. However, additional files—or a replacement created by renaming it—are ignored.

Is this intentional? Are custom `.uprojectdirs` files expected to remain local, or should the allowlist include `!*.uprojectdirs`?

I understand that `git mv` or explicitly force-adding the replacement handles the rename. I’m asking about the intended repository policy before proposing a change to the ignore rules.
