arxanas / git-branchless

High-velocity, monorepo-scale workflow for Git
Apache License 2.0
3.37k stars 80 forks source link

chore: ignore direnv files #1254

Closed willruggiano closed 2 months ago

willruggiano commented 4 months ago

For us Nix(OS) developers, useful with: echo 'use flake' > .envrc to automatically load the development shell for this project.

bryango commented 4 months ago

Whoops, just discovered this when I made a conflicting change in #1258... Cherry-picked with attribution.

arxanas commented 2 months ago

I'm not opposed to merging, but shouldn't direnv users ignore thes themselves on a per-repo or global basis?

willruggiano commented 2 months ago

I'm not opposed to merging, but shouldn't direnv users ignore thes themselves on a per-repo or global basis?

/.direnv/ probably

I have several personal projects where I commit /.envrc and have seen it tracked in various other projects so I think that one is more preference