nqminhuit / gis

Java Command Line Application which extends Git for supporting git-modules
1 stars 0 forks source link

jgit prune local merged branch #107

Open nqminhuit opened 1 month ago

nqminhuit commented 1 month ago

Replace the binary executable git (e.g., /usr/bin/git) with jgit library bundled inside gis for command:

'n="develop"; git branch --merged=$n | grep -v "^\* $n" | xargs -n 1 -r git branch -d' copied.