cogito remote branch
- From
- MichaelTiloDressel@t-online.de <michaeltilodressel@t-online.de>
- Date
- Nov 9, 2007, 13:16 UTC
- Message-ID
- <1IqTj5-24rt3I0@fwd33.aul.t-online.de>
Hi,
I just saw the scripts cg-update, cg-push .. scripts try to guess a branch name functioning as origin if no argument is given. These scripts seam to use a branch named <branchname>-origin if it exists and the current branch is named <branchname> and is not the branch named master.
I like that feature. Is it anywhere documented?
In case there is no branch named <branchname>-origin the scripts just use origin even if the current branch is not master. I would prefer the scripts to fail in this case and to print a message asking the user to specifically name a branch.
Cheers, Michael