./deploy use --intend-to-add on call to git add
This commit is contained in:
parent
ba1a3fe07e
commit
3a5e6dcbed
1 changed files with 2 additions and 1 deletions
3
deploy
3
deploy
|
|
@ -19,7 +19,8 @@ collect_garbage () {
|
||||||
|
|
||||||
rebuild_flake () {
|
rebuild_flake () {
|
||||||
# make sure all changes are visible to nixos
|
# make sure all changes are visible to nixos
|
||||||
git add . --verbose
|
# (--intent-to-add tracks files but DOES NOT stage them)
|
||||||
|
git add . --intent-to-add --verbose
|
||||||
local FLAGS=
|
local FLAGS=
|
||||||
if [ "$1" = "reinstall-bootloader" ]; then
|
if [ "$1" = "reinstall-bootloader" ]; then
|
||||||
FLAGS="--install-bootloader"
|
FLAGS="--install-bootloader"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue