Skip to content

Is it possible to configure longer commit intervals or auto combine many local commits into single one on daily basis? #5988

@zhuoqun-chen

Description

@zhuoqun-chen

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

No one assigned

    Labels

    :type/feature-requestClosed at will. Feature requests are in Logseq forum https://discuss.logseq.com/estimate: mediumMedium effort requiredgit

    Type

    No type

    Projects

    Status

    ✔ DONE

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions