All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Using SSH-Accessible Servers as Git Repositories for Server-Side Development

By

chmaynard

7mo ago· 2 min readen

Summary

The article explains how to use an existing SSH-accessible server as a git server by cloning repositories directly via SSH and configuring git to allow pushing to the currently checked-out branch. It presents this as a convenient method for working on server-side files without dealing with SSH lag or error-prone file copying.

Key quotes

· 3 pulled
If you have a git repository on a server with ssh access, you can just clone it:
By default, git won't let you push to the branch that is currently checked out, but this is easy to change:
This is a nice way to work on server-side files without SSH lag or error-prone copying.
Snippet from the RSS feed
If you have a git repository on a server with ssh access, you can just clone it:

You might also wanna read