fork 项目合并 命令谨记 # git基本操作 git add --all git commit -m "你要提交的信息" # 添加远程你 fork 的地址 git remote add upstream git地址 # 查看你的所有远程地址列表 git remote -v # 拉取你的远程地址代码到本地 git fetch upstream # 合并指定分支到本地 git merge upstream/合并的目标分支 # 基础 push git push origin fork的分支