[Hawkular-dev] Github - Protected Branches
Juraci Paixão Kröhling
jpkroehling at redhat.com
Thu Jan 28 12:31:51 EST 2016
On 28.01.2016 18:14, Peter Palaga wrote:
> On 2016-01-28 17:54, Thomas Segismont wrote:
>> If the Metrics repo wasn't your "origin" reference, then:
>> "git push --force"
>> wouldn't have corrupted it.
>
> huh, I did not know, origin works like this. FWIW, I stopped using
> "origin" as a label of any remote, because I never knew what it was
> pointing at. I started using "upstream" and "ppalaga". -- P
Up to some version of git[1], "origin" is/was the default remote, so,
"git push" pushes automatically to "origin".
To me, "origin" is always my fork, as it's "my origin". I use "upstream"
for the original repositories.
[1] Not sure that's still the behavior for newer versions of git.
- Juca.
More information about the hawkular-dev
mailing list