[M3devel] getting started with git?
Olaf Wagner
wagner at elego.de
Wed Dec 10 18:12:45 CET 2014
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
More information about the M3devel
mailing list