Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Owain Williams 353 posts 1051 karma points MVP 2x c-trib
    Jan 07, 2019 @ 14:31
    Owain Williams

    Sharing a project in github


    I'm trying to work out how I can share an Umbraco cloud project on github which will allow people to contribute to the site by creating pull requests which I can then merge in to the site.

    Can anyone point me in the right direction or explain how I should go about this.

    Thanks. Owain

  • Søren Kottal 396 posts 2409 karma points MVP c-trib
    Jan 07, 2019 @ 18:38
    Søren Kottal

    Hi Owain

    Here is what I would do.

    Keep the existing Cloud repository, and use that as the "deployment repository".

    Add a new repository on Github (or similar), and add that as a remote to your local cloud repository. Push all the contents of your repository to the github one.

    That will give you two copies of the same repository, who can work together - just like your existing local and remote repository.

    You might even be able to have Github merge any changes into the cloud repository automatically - I don't know how to do that, so I would go for a manual way of updating.

    When contributions are getting merged into master on your github repository, you can merge those changes back into your local repository, and then push them to the remote (Cloud) repository, for deploying.

    On the other hand, when Umbraco Cloud updates automatically, you can pull those changes to your local repository and push them to the Github one.

  • Owain Williams 353 posts 1051 karma points MVP 2x c-trib
    Jan 08, 2019 @ 12:55
    Owain Williams


    That seems to have got me thinking in the right way and I think I've got it working now :)


Please Sign in or register to post replies

Write your reply to: