mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-31 10:58:33 +00:00
8 lines
280 B
Plaintext
8 lines
280 B
Plaintext
|
#!/usr/bin/env nix-shell
|
||
|
#! nix-shell -p findutils coreutils git fzf -i bash
|
||
|
|
||
|
find ./content/ -mindepth 2 -iname 'index.adoc' -printf '%P\n' \
|
||
|
| xargs dirname \
|
||
|
| fzf --prompt "Choose orphan content branch " --filepath-word --info=hidden \
|
||
|
| xargs git switch --orphan
|