hylia icon indicating copy to clipboard operation
hylia copied to clipboard

Add guidelines for pulling improvements into netlify-deployed clones

Open jonnyburch opened this issue 5 years ago • 4 comments

Not sure if/how this is possible but as Netlify-deployed versions aren't formal forks I'm not sure how to pull improvements in.

jonnyburch avatar Jun 21 '19 20:06 jonnyburch

Good shout. What I'm doing with the releases is listing out file changes, but any ideas to help make things easier for folks are more than welcome in this camp.

Andy-set-studio avatar Jun 21 '19 20:06 Andy-set-studio

Hello,

Here is my attempt to update my deployment with the new version (from 0.4.4 to 0.5.0):

git remote add upstream https://github.com/hankchizljaw/hylia.git
git fetch upstream
git checkout master
git rebase 0.5.0
# here I have manually resolved all conflicts (mainly in src/data/*.json for me),
# and marked them resolved with
#    git add <conflicted files>
# and continue with
#     git rebase --continue
git pull
git push

I see in the Deploy log of the Netlify console that the version is now 0.5.0, and I find all the improvements.

It seems to do the trick... but I'm not sure that's the easiest or most efficient way to do it.

orx57 avatar Sep 24 '19 12:09 orx57

I think this route requires a fair bit of git knowledge. I think the trick is documenting various options, including this one, @orx57.

Andy-set-studio avatar Sep 24 '19 12:09 Andy-set-studio

These two links

https://help.github.com/en/github/getting-started-with-github/fork-a-repo#keep-your-fork-synced https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/syncing-a-fork

helped me to upgrade a Netlify-deployed version from v0.6.0 to v0.7.0 without any problems.

I think it's the same solution which @orx57 described.

ghost avatar May 15 '20 21:05 ghost