Re: defaults for where to merge from

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, 28 Feb 2007, Paolo Bonzini wrote:

> As can be seen from my other messages, I'm experimenting a little with 
> git and trying to understand how its workflow compares with arch.  
> Right now, my procedure for branching off a remote archive is:
> 
>   git checkout -b branchname remote/upstreambranch
>   git config --add branch.branchname.remote remote
>   git config --add branch.branchname.merge refs/heads/upstreambranch
> 
> Is there a reason why "git branch" and "git checkout -b" should not 
> automatically do the two "git-config --add"s when the source branch is 
> remote?

I like it.

> In case the source branch is not remote, would "origin" be a good choice 
> for the "branch.branchname.remote" variable?

In case source branch is not a remote, I would not want that DWIMery.

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]