Ricardo Fernández Serrata
99207eee8e
refactor(delete-merged-branches): rm -n1 from xargs, fmt pipes ( #1233 )
2026-05-18 16:10:46 +08:00
Edwin Kofler
b372bab52a
chore: Improve Bash variously ( #1032 )
2023-02-21 10:03:56 +08:00
Matan Rosenberg
c35c84a279
Ignore checked-out branches on different worktrees
2021-04-20 09:49:23 +03:00
spacewander
964663f1a4
change: migrate default branch
...
Close #877 .
2020-09-23 16:19:41 +08:00
spacewander
0e7cba55a8
git-delete-merged-branches: replace xargs -r option
2017-05-09 10:48:45 +08:00
Richard Fearn
8cbbf9095a
git-delete-merged-branches: use "xargs -r" to prevent error when there are no branches to delete
...
Prevents this error:
$ git delete-merged-branches
fatal: branch name required
2016-11-19 17:41:30 +00:00
Paul Schreiber
668cc9ef78
when deleting merged branches, preserve "svn" branch for git-svn
...
Fixed #328
2015-03-17 14:00:40 -04:00
Ben Parnell
0b0b688c17
added --no-color to git-delete-merged-branches
2014-12-01 10:20:26 +00:00
hemanth.hm
7b7913fab1
More portable she-bangs.
2014-11-30 17:47:26 +05:30
Evan Grim
36596a33b3
Exempt master from deleted branches
...
This is helpful for those who use the `git-flow` branch model and might
be surprised to find that this script deletes their master branch.
2014-07-21 23:05:30 -05:00
Tom Vincent
a909c8d20f
Simplify delete-merged-branches
...
This will delete branches merged into the current branch.
This uses `-d` and is therefore safer than the current script (which uses `-D`).
IMO, this mitigates the need to prompt.
2013-10-24 12:06:24 +01:00
TJ Holowaychuk
f6bb7ba042
git-delete-merged-branches: use -D instead of delete-branch
...
too slow
2013-03-25 08:23:57 -07:00
Damian Krzeminski
9b5a66a33b
Make delete-merge-branches more user-friendly
...
It won't delete master. If you have a ligitimate reasn to delete master,
you probably should use delete-branch directly.
It works for multiple branches and it asks for confirmation each time.
-f|--force supresses confirmation
You can answer 'a' (all) when prompted, which means you won't be asked
again.
2012-11-01 07:42:58 -06:00
TJ Holowaychuk
85c0b6dd88
Added git-delete-merged-branches(1)
2012-06-22 09:07:03 -07:00