diff options
author | Junio C Hamano <junkio@cox.net> | 2006-12-17 23:58:16 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-18 16:28:12 -0800 |
commit | f3d985c38090b77e46dcc00d42574b9ba49bdc22 (patch) | |
tree | 580e70df696699b2064b5630d157e73074260218 /arm | |
parent | 8336afa563fbeff35e531396273065161181f04c (diff) | |
download | git-f3d985c38090b77e46dcc00d42574b9ba49bdc22.tar.gz |
Teach git-branch to delete tracking branches with -r -d
Because -r already means "remote" when listing, you can say:
$ git branch -d -r origin/todo origin/html origin/man
I just twisted it not to check fast-forwardness with the current
branch when you are removing a tracking branch. Most likely,
removal of a tracking branch is not because you are "done with"
it (for a local branch, it usually means "you merged it up"),
but because you are not even interested in it. In other words,
remote tracking branches are more like tags than branches.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'arm')
0 files changed, 0 insertions, 0 deletions