Adding a new option to git-push: --(no-)create-branch

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

 



Hello Git developers and users,

When I use Git, I tend to specify my branches explicitly.  For example:

git push origin master:master

However, I will often make a typo like this:

git push origin master:msater

I was thinking that it would be nice for git to support a new option/config value: --no-create-branch (push.createbranch). This configuration variable would forbid git from creating new remote branches, unless overriden with --create-branch.

Does anyone think this would be worth implementing? I'd like to take the pulse of the community before I start making any modifications.

Thanks,
Rob Hoelz
--
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]