Pulling updates from the repo to your computer: You could write a lightweight script to run git pull on a schedule, or use Github webhooks if you have a public URL connected to your computer.
Pushing updates from your computer to the repo: This one fits in with Git less, because Git requires a commit message. However, you could write a script that autogenerates a commit message, commits, and pushes. It could either run on a schedule, or, if that's too heavy, it could use your OS file watchers.
8
u/davorg Jul 06 '26
It sounds like you want Dropbox, not GitHub
3
u/abrahamguo Jul 05 '26
No, there's not an out-of-the-box way to do this.
git pullon a schedule, or use Github webhooks if you have a public URL connected to your computer.1
u/Major_Chocolate2441 Jul 05 '26
I believe there's a way with MAKE
1
u/drew-minga Jul 06 '26
Just use the github app and make the small effort to sync it every time. It takes second.
1
u/GlobalImportance5295 Jul 06 '26
you would need to use something like inotifywait or systemd path units
-1
u/nakfil Jul 05 '26
Create a symlink - “symbolic link”