feat(envrc): fetch repo on enter
All checks were successful
/ check (push) Successful in 19s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s
All checks were successful
/ check (push) Successful in 19s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s
Should help me not to work on an outdated commit, thankfully jj makes it trivial to rebase.
This commit is contained in:
parent
9765b6142a
commit
4f7479490e
1 changed files with 9 additions and 0 deletions
9
.envrc
9
.envrc
|
@ -1 +1,10 @@
|
|||
# update repo
|
||||
if has jj; then
|
||||
jj git fetch
|
||||
elif has gix; then
|
||||
gix fetch
|
||||
elif has git; then
|
||||
git fetch
|
||||
fi
|
||||
|
||||
use flake
|
||||
|
|
Loading…
Reference in a new issue