Comments (3)
建议以后一个 pr 只做一件事,这样 squash 之后不会把几个内容合到一个 commit 里面= =
以及为了防止(我)日后点错,已经关了 create a merge commit
,默认是 squash……
from oi-wiki.
滋兹。:+1:
其实都行(最开始一直在 squash ,后来感觉没啥大区别
upd: 关于 amend,现在很大一部分更新是在 Github 网页版上进行的,并不能滋兹 amend,所以个人建议不强求。
from oi-wiki.
upd: 我发现 squash 了之后如果 24OI repo 里面对应内容又有了更新,就会被视为是 conflict,在 fork 里面的体验非常不好,可能需要删了重新 fork 才能开 pr。这样搞会大幅增加操作门槛(网页版上操作变得太复杂),so 我觉得目前还是不要 squash 比较好。
什么时候建议用 squash?多个 commit 中间有不希望引入主仓库的内容(加入了后来又删掉了这种)
cc: @24OI/wiki
对之前 xjb squash 带来的不便十分抱歉,这里就不 at 了……
from oi-wiki.
Related Issues (20)
- [内容有误] 质数筛埃氏筛法改良筛至平方根有误 HOT 4
- [内容有误] 现在clion自带了MinGW HOT 1
- Add Dilworth 定理与 Mirsky 定理 HOT 1
- Add 权值较为复杂的多重背包 HOT 1
- [内容有误] 汇编注释符号打错了 HOT 4
- [内容有误] WBLT 页面式子有误,且缺少证明 HOT 4
- [内容有误] A * 页面例题 「八数码」参考代码有误
- [内容有误] A * 页面例题 「八数码」参考代码有误
- Add 时间库相关介绍 HOT 3
- Add 集合论目录 HOT 1
- Add NTT模数表 HOT 2
- [内容有误] Arbiter 2.0 还需要开栈吗? HOT 2
- [内容有误] 计算几何-凸包页面的Andrew算法的python代码 HOT 1
- [内容有误] Python `str` 和 `chr` 的用法有误 HOT 1
- Add 在线莫队 HOT 4
- [内容有误] 埃及分数示例代码可被 hack
- [WARN] 处理配对堆页面下图片有 Warning HOT 1
- [WARN] 某些 SVG 导致 Typst 编译 Warning HOT 3
- [内容有误] trie 页面例题描述需要补充 HOT 14
- [内容有误] B+ 树页面 typo HOT 1
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 oi-wiki.