Andy-set-studio / hylia

Hylia is a lightweight Eleventy starter kit to help you to create your own blog or personal website.
https://hylia.website
MIT License
905 stars 230 forks source link

Kindly keep git history linear by avoiding merge commits #71

Closed shreeshbhat closed 5 years ago

shreeshbhat commented 5 years ago

I really love this project, Andy. A small change in this repo's settings would help keep git history linear, clean and easy to navigate. Please avoid merge commits while merging PRs.

Squash and merge option would be easier I think.

https://help.github.com/en/articles/about-pull-request-merges#squash-and-merge-your-pull-request-commits

Reasoning : https://blog.carbonfive.com/2017/08/28/always-squash-and-rebase-your-git-commits/

shreeshbhat commented 5 years ago

@andybelldesign : I still see merge commits happening to this repo. Please try out squash and merge option while merging PRs, that will keep git history clean and easy to read.

Andy-set-studio commented 5 years ago

I’ll keep it how it is, cheers 👍

shreeshbhat commented 5 years ago

Quick follow up question : Why though? It is a setting change at repo level that will make it easier for others to read commits.