Fork A Repo
来源:互联网 发布:抑郁症知乎 编辑:程序博客网 时间:2024/04/28 05:54
https://help.github.com/articles/fork-a-repo
主要是保证fork的repo是干净的
cd Spoon-Knife# Changes the active directory in the prompt to the newly cloned "Spoon-Knife" directorygit remote add upstream https://github.com/octocat/Spoon-Knife.git# Assigns the original repo to a remote called "upstream"git fetch upstream# Pulls in changes not present in your local repository, without modifying your files当然要合并才有价值
git fetch upstream# Fetches any new changes from the original repogit merge upstream/master# Merges any changes fetched into your working files
其他参考原文
- Fork A Repo
- Fork A Repo
- How to sync a fork repo to keep it up-to-date with the upstream repo on Windows?
- Mac之Git/GitHub使用(3)——Fork A Repo
- Mac之Git/GitHub使用(3)——Fork A Repo
- 设置Git--在Git中设置您的用户名--创建一个回购--Fork A Repo--社会化
- Track Original Repo When Fork
- github中更新自己fork的repo
- Create A Repo
- Android repo Q&A
- fork a process
- 【github】Syncing a fork
- 更新 "Github Fork 之后的 Repo" 的方法
- 在github上创建一个repo create a repo
- Create A Repo github建立一个库
- A new repo command ( 1.18) is available
- cannot find a valid baseurl for repo
- repo
- UML总结四--RUP
- C++引用
- JavaScript继承机制之prototype, __proto__, constructor
- 使用vimdiff作为svn diff的查看代码工具
- 指针传参及分配空间
- Fork A Repo
- ios 广告平台
- HashMap 简单取值
- 优化Java堆大小的5个技巧
- js中如何判断元素是否相同
- EXTJS中 DateField 显示一半的解决方法
- 主键与外部键-参考完整性约束
- Android Hierarchy Viewer的使用
- 图片文件压缩java代码