sisyphus/arch/stow/_scripts/git-flake

8 lines
248 B
Text
Raw Permalink Normal View History

2023-06-14 17:25:16 +02:00
#!/usr/bin/env bash
# Ignore flake.nix and flake.lock
# For using personal flakes in a project that does not provide and want flakes.
# Syntaxis: git flake
git add --intent-to-add flake.nix flake.lock
git update-index --assume-unchanged flake.nix