You Already Have a Git Server
You Already Have a Git Server
2025-10-24 — 2026-01-26
If you have a git repository on a server with ssh access, you can just clone it:
Once you've done some work, you can push your changes back to the origin server. By default, git won't let you push to the branch that is currently checked out, but this is easy to change:
Run this on the remote server.
This is a nice way to work on server-side files without SSH lag or error-prone copying. If you need more then just a file server, git can run a shell script when it receives a new push:
You'll even get the script's output sent back to your computer's terminal. . I've have git set up to this blog's site generator: It's very nice to be able to type up posts locally, and then push them to the server.
Get GoPeek
Preview links without opening tabs. Available on Edge and Firefox. Chrome support coming soon.
Comments
Post a Comment