Another important point (for actively developed packages) is that Pkg.add() 
checks out the commit of the latest released version registered in 
METADATA.jl. Most packages do development on the master branch, so you 
should likely base your changes on master, rather than the latest released 
version.

To do this, you can use `Pkg.checkout()`, but `git checkout master` will 
also work.

Ivar

kl. 21:07:49 UTC+1 mandag 10. november 2014 skrev Tim Wheeler følgende:
>
> Thank you! It seems to have worked.
> Per João's suggestions, I had to:
>
>
>    - Create a fork on Github of the target package repository
>    - Clone my fork locally
>    - Create a branch on my local repository
>    - Add, commit, & push my changes to said branch
>    - On github I could then submit the pull request from my forked repo 
>    to the upstream master
>
>
>
>
>
>
> On Monday, November 10, 2014 11:17:55 AM UTC-8, Tim Wheeler wrote:
>>
>> Hello Julia Users,
>>
>> I wrote some code that I would like to submit via pull request to a Julia 
>> package. The thing is, I am new to this and do not understand the pull 
>> request process.
>>
>> What I have done:
>>
>>    - used Pkg.add to obtain a local version of said package
>>    - ran `git branch mybranch` to create a local git branch 
>>    - created my code additions and used `git add` to include them. Ran 
>>    `git commit -m`
>>
>> I am confused over how to continue. The instructions on git for issuing a 
>> pull request require that I use their UI interface, but my local branch is 
>> not going to show up when I select "new pull request" because it is, well, 
>> local to my machine. Do I need to fork the repository first? When I try 
>> creating a branch through the UI I do not get an option to create one like 
>> they indicate in the tutorial 
>> <https://help.github.com/articles/creating-and-deleting-branches-within-your-repository/#creating-a-branch>,
>>  
>> perhaps because I am not a repo owner.
>>
>> Thank you.
>>
>

Reply via email to