Add done
recipe to justfile
Safely delete a merged feature branch: 1. Check out `master` 2. Check that there are no pending changes 3. Rebase onto latest github master 4. Check that there are no changes relative to feature branch 5. Delete feature branch type: development
This commit is contained in:
parent
3affa8c5e1
commit
7f630a1bd9
8
justfile
8
justfile
|
@ -9,6 +9,14 @@ stats PATH:
|
||||||
cargo build --release
|
cargo build --release
|
||||||
time ./target/release/imdl --unstable torrent stats --input {{PATH}}
|
time ./target/release/imdl --unstable torrent stats --input {{PATH}}
|
||||||
|
|
||||||
|
# clean up feature branch BRANCH
|
||||||
|
done BRANCH:
|
||||||
|
git checkout master
|
||||||
|
git diff --no-ext-diff --quiet --exit-code
|
||||||
|
git pull --rebase github master
|
||||||
|
git diff --no-ext-diff --quiet --exit-code {{BRANCH}}
|
||||||
|
git branch -D {{BRANCH}}
|
||||||
|
|
||||||
# retrieve large collection of torrents from the Internet Archive
|
# retrieve large collection of torrents from the Internet Archive
|
||||||
get-torrents:
|
get-torrents:
|
||||||
aria2c \
|
aria2c \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user