News for hackers. Stuff that matters.
Re:Git: Deletion of merged branches taken beyond shell hacks by nhumrich on Wednesday August 12, 2020 @05:37PM (#24137294)
why not just set `git config fetch.prune true`?
Re:Git: Deletion of merged branches taken beyond shell hacks by brown9-2 on Wednesday August 12, 2020 @05:57PM (#24137493)
I don’t think this detects a branch that can be deleted after a squash merge to master
Re:Git: Deletion of merged branches taken beyond shell hacks by nhumrich on Wednesday August 12, 2020 @09:38PM (#24139144)
as long as the remote branch is deleted it does. Both github and gitlab can delete branch on merge
Re:Git: Deletion of merged branches taken beyond shell hacks by spyc on Thursday August 13, 2020 @05:55AM (#24141623)
`git fetch --prune` only deletes remote-tracking branches (`refs/remotes/<remote>/<branch>`) but not local tracking branches (`refs/heads/<branch>`).