Re: git push doesn't honor .git/config

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

 



Phil Lawrence <prlawrence@xxxxxxxxx> writes:

> I renamed a local branch from MIS-59 to MIS-59_project, and did the following:
>   git branch --set-upstream MIS-59_project origin/MIS-59
>   git push --set-upstream origin MIS-59_project:MIS-59
>
> However, .git/config is not being honored by git push; I have to
> supply all the parameters to actually push changes.

... or read the man better ;-)

       branch.<name>.merge
           [...] It tells git-fetch/git-pull which branch to merge and
           can also affect git-push (see push.default). [...]

       push.default
           [...]
           ·   matching push all matching branches. [...] This is the default.
           ·   tracking push the current branch to its upstream branch.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
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]