hacdias / eagle

🔌 My website's blogging platform.
https://hacdias.com
MIT License
24 stars 0 forks source link

Daily Squashed Commits #197

Closed hacdias closed 1 year ago

hacdias commented 1 year ago

At the moment, Eagle creates a single commit for every action. That is usually fine, but now my website's repository has over 22 thousand commits, which sometimes fix a typo or a line with enigmatic names. The idea here is:

  1. Use a eagle branch on a "daily" basis.
  2. During the day, make commits to eagle.
  3. At a certain daily point: in eagle rebase with main, squash all commits from the day maintaining a commit message that preserves messages.
  4. In main: git rebase eagle.