acl-style-files icon indicating copy to clipboard operation
acl-style-files copied to clipboard

"Update on Overleaf" commits

Open davidweichiang opened this issue 9 months ago • 2 comments

The commit history is filled with empty commits that say "Update on Overleaf." For example, https://github.com/acl-org/acl-style-files/commit/378d547860adef8aa18691d3ac3ec80410be252a. Why is this happening?

davidweichiang avatar Feb 10 '25 14:02 davidweichiang

@danielgildea @mjpost

davidweichiang avatar Feb 10 '25 14:02 davidweichiang

It has to do with me pushing to both github and overleaf from the same repository on my own machine. For some reason I always have to pull from overleaf before pushing to overleaf, even if I haven't made changes on overleaf, and this creates empty commits. In this case I think there were extra empty commits because I forgot to "git merge". Yuck.

danielgildea avatar Feb 10 '25 15:02 danielgildea

The best way to avoid this problem is to never edit the project on overleaf, and to make all changes by pushing git commits to overleaf.

danielgildea avatar Aug 29 '25 18:08 danielgildea