From 4718f8804516f1be847a8ad3d3fae39e8795c18f Mon Sep 17 00:00:00 2001 From: tdpeuter Date: Wed, 14 Jun 2023 17:25:16 +0200 Subject: [PATCH] Add unfinished git-flake command --- arch/stow/_scripts/git-flake | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 arch/stow/_scripts/git-flake diff --git a/arch/stow/_scripts/git-flake b/arch/stow/_scripts/git-flake new file mode 100755 index 0000000..e6df509 --- /dev/null +++ b/arch/stow/_scripts/git-flake @@ -0,0 +1,7 @@ +#!/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