RE: Simple shortcut for "git push --set-upstream origin newBranchName"
- From
- Cliff Schomburg <clisc@microsoft.com>
- Date
- May 31, 2019, 14:56 UTC
- Message-ID
- <BN8PR21MB115693C381F65E97AB65FA18B7190@BN8PR21MB1156.namprd21.prod.outlook.com>
- In-Reply-To
- <ac62f96f-0ebc-2dff-3365-781e6b9142a3@gmail.com>
Wow, I did not see that in the man pages... but I see it now. Thanks!
So I guess I would change my ask to this:
"git push -u"
Should default to "origin branch" if no parameters are provided. Thoughts?
Thanks, Cliff
-----Original Message----- From: Patryk Obara <dreamer.tan@gmail.com> Sent: Friday, May 31, 2019 10:51 AM To: Cliff Schomburg <clisc@microsoft.com>; git@vger.kernel.org Subject: Re: Simple shortcut for "git push --set-upstream origin newBranchName"
On 31/05/2019 16:45, Cliff Schomburg wrote:
> I'm proposing a shortcut for this command.
What's wrong with "$ git push -u origin branch"?
-- Patryk Obara