Skip to content

Commit e101d78

Browse files
committed
[just] small modifications around git worktree
1 parent 1908cca commit e101d78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

justfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,11 @@ poetry +commands:
201201

202202
# Create new worktree
203203
wkt-create DIR:
204-
cd .. && git worktree add {{ DIR }}
204+
git worktree add ../{{ DIR }}
205205

206-
# Create new worktree to prepare the next xx.xx
206+
# Create new worktree to prepare the next xx.xx-dev
207207
wkt-create-nixos-unstable DIR:
208-
cd ../nixos-unstable && git worktree add {{ DIR }}
208+
cd ../nixos-unstable && git worktree add ../{{ DIR }}
209209

210210
g5k-install-nxc-nix:
211211
#!/usr/bin/env bash

0 commit comments

Comments
 (0)