Thread (10 messages) flat view 10 messages, 5 authors, 2016-06-15

Re: [PATCH] git-remote exclude

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:49

Hi,

On Mon, 15 Jan 2007, Quy Tonthat wrote:
"git-remote exclude" can be used to prevent one or more unwanted remote 
branches from being tracked. After, for example,
    $ git-remote origin exclude man html
"git-fetch origin" will no longer fetch origin/man and origin/html.
That is not what your patch does.

It rewrites the "remote.$name.fetch" entries so that those branches are 
not _updated_, but they are _fetched_ nevertheless.

But then, I don't really see _why_ you would want such a solution. After 
all, you are more likely to be interested in _specific_ branches, rather 
than all branches _except_ a few.

IMHO "git remote expand <name>" to expand the wildcards and "git remote 
copy <dest> <src>" would be more useful.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help