# Upload new package to github

**URL:** <https://discourse.julialang.org/t/upload-new-package-to-github/56783>\
**Category:** General Usage\
**Tags:** package, github\
**Created:** [March 9, 2021, 4:02am UTC](https://discourse.julialang.org/t/upload-new-package-to-github/56783 "2021-03-09T04:02:46Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [June 8, 2021, 5:47pm UTC](https://discourse.julialang.org/t/upload-new-package-to-github/56783/21 "2021-06-08T17:47:58Z")

</div>

This is all very confusing and needs proper documentation. Its a pity that my request to add this documentation to the Julia documentation was declined. See: [Documentation how to push a package to github is missing · Issue #2427 · JuliaLang/Pkg.jl · GitHub](https://github.com/JuliaLang/julia/issues/39960)

---

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [June 8, 2021, 6:44pm UTC](https://discourse.julialang.org/t/upload-new-package-to-github/56783/22 "2021-06-08T18:44:43Z")

</div>

> [@tbeason](#):
>
> Ah I did not know that PkgTemplates.jl creates the github repo for you.

Does it? I thought it just sets up a `git remote` to a repository with an expected name.

---

<div class="post-metadata">

**Author:** ![Skoffer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/skoffer/32/378_2.png) [@Skoffer](https://discourse.julialang.org/u/Skoffer)\
**Post date:** [June 8, 2021, 7:44pm UTC](https://discourse.julialang.org/t/upload-new-package-to-github/56783/23 "2021-06-08T19:44:11Z")

</div>

It doesn’t [Automatic creation of Github repo + other online features · Issue #280 · invenia/PkgTemplates.jl · GitHub](https://github.com/invenia/PkgTemplates.jl/issues/280)

---

<div class="post-metadata">

**Author:** ![tbeason](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tbeason/32/15898_2.png) [@tbeason](https://discourse.julialang.org/u/tbeason)\
**Post date:** [June 8, 2021, 8:08pm UTC](https://discourse.julialang.org/t/upload-new-package-to-github/56783/24 "2021-06-08T20:08:00Z")

</div>

I don’t know because that isn’t what I use. I must have misunderstood the earlier posts about it. If it just creates the origin remote link but not the actual repo, then all one has to do is to create a repo on Github with same name but still EMPTY and then push. Just to be clear for those who are following along.

---

<div class="post-metadata">

**Author:** ![pywugate](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pywugate/32/52011_2.png) [@pywugate](https://discourse.julialang.org/u/pywugate)\
**Post date:** [August 5, 2024, 11:26am UTC](https://discourse.julialang.org/t/upload-new-package-to-github/56783/25 "2024-08-05T11:26:57Z")

</div>

update for any newbiew like me or anyone using Github Desktop,  
@chadagreene had a good [solution](https://discourse.julialang.org/t/trouble-publishing-my-first-package-to-github/93293/5)

[Previous page](https://discourse.julialang.org/t/upload-new-package-to-github/56783.md?page=1)
