-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Problem Description
I push my Logseq notes to GItHub once a day.
However, many local commits are made under the maximum commit interval limitation set to 600 second
, which means that my repo will increase 60~70+
commits per day.
It seems like I'm an activate "committer" while actually I just take some notes. This is not what I want.
Possible Solution
I come up with 2 solutions to solve my problem.
Prolong the commit interval
Cancel the maximum commit interval restriction of 600 second
per commit.
The potential risk is losing some important notes during the prolonged interval.
Offer An option to auto combine many local commits into one or few commits
I plan to use interactive rebase to squash many commits into one commit and then push once a day.
For example, I can manully squash and push before I close my laptop.
git rebase -i HEAD~
But considering that I'm not familiar with git rebase
and this may lead to conflicts and mess up with my current notes so I finally didn't test this solution.
Summary
Both 2 solutions have flaws. I know this is not a very urgent feature, but I still hope developers can notice my problem. Any help will be appreciated.😊
Metadata
Metadata
Assignees
Labels
Type
Projects
Status