---
title: "💭 You already have a git server: (Maurycy's blog)"
description: "!https://maurycyz.com/misc/easy_git/"
date: 2025-10-29
published: true
tags:
  - git
  - thought
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://maurycyz.com/misc/easy_git/" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-content">
      <div class="embed-card-title">You already have a git server: (Maurycy&#39;s blog)</div>
      <div class="embed-card-meta">maurycyz.com</div>
    </div>
  </a>
</div>


It's so easy to forget low level tech sometimes.  Things that are dead simple and just work without a hitch.  `git` is one of those rock solid things thats very easy to remember all that it does, this is a classic use case.

This just works

``` bash
cd /parent/directory/for/repo
git clone ssh://username@server/path/to/repo
```

In order to recieve you must update the remote to allow recieve.

``` bash
git config receive.denyCurrentBranch updateInstead
```

Now you can pull update push.  

It's funny how this was the way I first learned to do Continuous Deployment to a RHEL7 machine, also how Heroku worked, but its so easy to forget this solution is there.  I come across it every few years and immediately have a few use cases in mind.

!!! note

    This post is a <a href="/thoughts/" class="wikilink" data-title="Thoughts" data-description="These are generally my thoughts on a web page or some sort of url, except a rare few don&#39;t have a link. These are dual published off of my..." data-date="2024-04-01">thought</a>. It's a short note that I make
    about someone else's content online <a href="/tags/thoughts/" class="hashtag-tag" data-tag="thoughts" data-count=2 data-reading-time=3 data-reading-time-text="3 minutes">#thoughts</a>
