Solving commit issues when syncing between Linux and MacOS #36
Closed
FlipH19Switch
started this conversation in
General
Replies: 1 comment
-
yes, files in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thought I'd add this here in case anyone else has the same problem.
I ran into an issue with commits not getting pushed from MacOS. I initially set everything up on a machine running Linux Mint, confirmed it was auto-uploading to Github, then cloned the repo to a M1 laptop running MacOS Sonoma and began testing there.
My auto-commits on MacOS were not being pushed to GitHub. The problem was that I assumed the pre-commit and post-commit files I added on Linux would be synced automatically and appear on MacOS. Once I added these files to the .git/hooks folder on MacOS and ran the necessary command to make them executable, files began uploading correctly.
Now everything works on both machines :)
Beta Was this translation helpful? Give feedback.
All reactions