[git-users] Feature Request: `git remote prune --all`

2014-07-18 Thread Travis Carden
I'm an active contributor to other open source projects, but I'm just 
starting to engage the Git community. So if this isn't the best place to do 
this, please redirect me. I appreciate the guidance!

I'd like to see the addition of a `git remote prune --all` command option, 
or something similar. I work on a medium-sized team where I interact with a 
lot of remotes. `git fetch --all` gets everybody's new branches for me, but 
if I want to prune deleted ones I have to do something like `for REMOTE in 
`git remote`; do git remote prune $REMOTE; done;`. Not quite as friendly. 
I've created the below bash alias for myself, but a built-in command would 
be so much nicer.

alias git-remote-prune-all='for REMOTE in `git remote`; do echo Pruning 
$REMOTE; git remote prune $REMOTE; done;'

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Feature Request: `git remote prune --all`

2014-07-18 Thread Konstantin Khomoutov
On Fri, 18 Jul 2014 07:48:40 -0700 (PDT)
Travis Carden travis.car...@gmail.com wrote:

[...]
 I'd like to see the addition of a `git remote prune --all` command
 option, or something similar.

This list is for helping Git newbies solve their problems with Git.
To propose a feature request or report a bug, please consider posting
on the main Git list (which is read by its developers).
See [1] for more info.

1. https://gist.github.com/tfnico/4441562

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.