git remote add upstream https://github.com/TuSimple/naive-ui.git
# 拉取 upstream 仓库 main 分支最新代码
git fetch upstream main
# 切换分支
git checkout main
# 合并 main 分支最新代码到本地当前分支
git merge upstream/main
# 新功能
git commit -am 'feat(button): add textColor prop'
# bug修复
git commit -am 'fix(button): fix bug for textColor prop'
# 文档修改
git commit -am 'docs(button): add demo for textColor prop'
git push --set-upstream origin branchName