Iwanna 的个人博客 / 0 / 1 / 创建于 3年前
git 同步fork的仓库代码向开源项目提交pr的时候经常用到的命令
# 拉取原仓库代码 git remote add upstream https://github.com/gogf/gf.git git pull upstream # 将原仓库代码合到自己仓库 git merge upstream/master # 推送 git push
本作品采用《CC 协议》,转载必须注明作者和本文链接
我喜欢git fetch + git merge。 :grin:
我要举报该,理由是:
我喜欢git fetch + git merge。 :grin: