nqminhuit / gis

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

jgit prune local merged branch #107

Open nqminhuit opened 4 months ago

nqminhuit commented 4 months 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.