Comments (1)
虽然语气很不友善,不过既然问到这个的话想了想还是应该解释一下。
“在开源项目中,分支常用于迭代想法或更改,然后将其合并到上游存储库。”
Fork 的作用是让你可以在已有 repo 的基础上添加新功能、修复 bug 等等,也有可能是因为原作者停止维护或理念不合等原因而 fork 出来作为新的项目继续发展,本质上其实都是用来贡献代码的,可以把自己的修改反馈到上游不过这个也是可选的。
但是实际上有很多人把 fork 误用成了收藏,比如有些 fork 这个 repo 的用户我点进去一看发现有数十成百上千个 repo,其中绝大部分都是 fork,几乎所有 fork 都是“This branch is up to date with ...”或者“This branch is ... commits behind ...”而不是“This branch is ... commits ahead of ...”,也就是说这些 fork 没有产生任何代码贡献。我暂且不知道这些用户这么做的意义。
更符合收藏用途的应该是 star,同时也可以作为对维护者的一种小小的鼓励,不愿意或不方便 star 的话使用浏览器的收藏夹/书签等等也是可以的。有些 repo 的用途是“fork 然后自行修改某些参数用来执行 GitHub Actions”,更适合这种情况的其实是把它作为 template repo。
我写上那句话只是为了提醒看到它的人,没有完全不允许 fork 的意思(即使 GitHub 真的允许这么做)。
from wechatmomentscreenshot.
Related Issues (20)
- 哥您好,能把我域名添加到白名单吗,非常感谢! HOT 5
- 关于右上角时间显示 HOT 2
- 获取随机头像失败 HOT 5
- 是否能加上朋友圈背景图 HOT 1
- 大佬还更新不 HOT 5
- 提交镜像站,希望可以加入白名单 HOT 2
- 源代码有问题 HOT 4
- 点赞数为0时图片有瑕疵 HOT 3
- 用户名能不能随机呢 HOT 3
- 时间和ui问题 HOT 5
- 朋友圈文字中含有一些数字或者月份等图片符号,会丢失 HOT 1
- 详情两个字能居中显示吗? HOT 2
- 删除按钮可以改为图标吗 HOT 6
- 更新表情 HOT 10
- ios截图左右方向上是1280像素 HOT 1
- 演示demo还需要梯子如果不需要那不就更好啦
- 操作起来稍微简单一些的“自定义头像库”使用方法介绍 HOT 7
- 是不是已经凉了? HOT 1
- 生成的截图有错位现象 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wechatmomentscreenshot.