On Mon, Aug 19, 2013 at 2:58 AM, Magnus Therning <mag...@therning.org> wrote: > On Wed, Aug 14, 2013 at 03:29:10PM -0700, Sam Roberts wrote: >> I don't see anything in the docs (other than a gui.pruneduringfetch). >> I'd be OK with a global default, I think I want this always, but a >> per/remote option for .git/config would be nice to. >> >> Have I missed this somewhere? > > I have the following in my ~/.gitconfig, which I think works the way > you want ;) > > [alias] > fetch = fetch -p
Have you tried? It doesn't work for me: block:~/p/sam-github/subhelp % grep fetch ~/.gitconfig fetch = fetch --prune block:~/p/sam-github/subhelp % git fetch block:~/p/sam-github/subhelp % git fetch --prune x [deleted] (none) -> origin/fu I'll do an alias to "f", that will help, but still won't make it happen after a git pull. I could look into a git post pull hook... except it doesn't exist, and there are no global hooks. -- 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/groups/opt_out.