I think it should work like this:

Fork METADATA.jl on github web interface, get address of your fork and do

$ git clone g...@github.com:your-user-name/METADATA.jl.git
$ cd METADATA.jl

make a new branch:
$ git branch mypack
$ git checkout mypack

add the stuff for your package in a folder, say MyPack, then:
$ git add MyPack/*
$ git commit -m "My fab package"

push to github:
$ git push --set-upstream origin mypack

Go to github website of your fork of METADATA.jl and a green button
'Compare & pull request' should have appeared and you're a few clicks
away from finishing the pull request.

On Fri, 2014-09-05 at 08:41, Samuel S. Watson <samuel.s.wat...@gmail.com> wrote:
> I have a package I put on GitHub that I'd like to request be added to 
> METADATA.jl. My understanding is that I'm supposed to fork 
> JuliaLang/METADATA.jl, add my package, and then submit a pull request. My 
> problem is with the add-my-package step. When I try to push from my package 
> directory, it creates a completely separate branch called master. I could 
> re-create all the files using the browser interface, but it would seem more 
> principled to move the existing git repository into sswatson/METADATA.jl. 
> How is this supposed to work? 

Reply via email to