[M3devel] getting started with git?
Jay K
jay.krell at cornell.edu
Thu Dec 11 01:08:40 CET 2014
I wasn't clear.
I see no need for me to have my own github hosted repository.
I might have "fell" into having it through.
I'd just like to have the one "master" on github and an unavoidable local repo.
(just one local? or a few?)
I'd like to push to master.
Can this work?
And then, who controls who is allowed to push to master?
Surely it isn't just world-writable.
Or I must push to github-hosted-jaykrell and then someone/everyone must pull from github-hosted-jaykrell?
Thanks,
- Jay
> Date: Wed, 10 Dec 2014 18:12:45 +0100
> From: wagner at elego.de
> To: rodney.m.bates at acm.org
> CC: m3devel at elegosoft.com
> Subject: Re: [M3devel] getting started with git?
>
> On Wed, 10 Dec 2014 08:29:29 -0600
> "Rodney M. Bates" <rodney_bates at lcwb.coop> wrote:
>
> > I'm pretty new at git too, so my impressions are tenuous
> >
> > On 12/10/2014 06:20 AM, Jay K wrote:
> [...]
> > > I submit a pull request?
> > > I haven't figured out how.
> >
> > 'pull' is a git command you can issue locally, naming the remote
> > repo (and the branch) you want to pull from. With the remote repo URL
> > omitted, it pulls from the one you originally cloned from. That is
> > remembered somewhere locally. You can examine/edit the URL with some
> > command, I think 'remote'. (push defaults to this URL too.)
> >
> > What I have been unable to do is get an explicit repo URL in
> > a pull or push command to work. Every spelling I try either silently
> > and immediately returns a prompt, with no evidence anything happened,
> > or gives a error message criticizing the repo URL as if it were supposed
> > to be a branch name or something other than a URL..
> >
> > > And who handles them?
> > > Or it is automatic? But how to stop arbitrary edits then?
> >
> > I am quite certain it is not automatic. You have to explicitly pull.
> >
> > Somebody else with their own local repo can push it to yours, but you
> > have to have given them permission somehow. I doubt the github repo
> > will ever get pushed to yours.
>
> You're talking about two different things. See
> https://help.github.com/articles/using-pull-requests/
> for pull requests on github, wile 'git pull' is just
> a combination of 'git fetch' and 'git merge':
>
> http://git-scm.com/docs/git-pull
>
> I'm not sure if the small number of m3 developers will need
> pull requests for their collaboration.
>
> Olaf
> --
> Olaf Wagner -- elego Software Solutions GmbH -- http://www.elegosoft.com
> Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95
> Geschäftsführer: Olaf Wagner | Sitz: Berlin
> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20141211/8ef2a1b9/attachment-0002.html>
More information about the M3devel
mailing list