Ant-design-pro: What is the recommend way of getting the updates?

Created on 15 Oct 2018  ·  3Comments  ·  Source: ant-design/ant-design-pro

First of all, thank you for the great work. I might have missed it but what is the best practice for getting the updates. I only found the approach by cloning the repo but just wondering if there are any better ways to do so? I suspect everyone wants to develop their own app but also get the updates and bug fixes.

😸Documentation

Most helpful comment

Merging the upstream's updates each time you need to update if you app is similar enough to ant-design-pro.

git remote add upstream https://github.com/ant-design/ant-design-pro.git

git fetch upstream

git checkout master

git rebase upstream/master

Or just patching commits manually if your app is quite different from pro (Recommended).

IMO

All 3 comments

Merging the upstream's updates each time you need to update if you app is similar enough to ant-design-pro.

git remote add upstream https://github.com/ant-design/ant-design-pro.git

git fetch upstream

git checkout master

git rebase upstream/master

Or just patching commits manually if your app is quite different from pro (Recommended).

IMO

@kennylbj 有兴趣帮我们补充到文档中吗?

@chenshuai2144 okay

Was this page helpful?
0 / 5 - 0 ratings