shot of post - πŸ’­ You already have a git server: (Maurycy's blog)

Here's my thought on πŸ’­ You already have a git server: (Maurycy's blog)


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


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.


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 thought. It's a short note that I make about someone else's content online. Learn more about the process thoughts

This post was a thought by Waylon Walker see all my thoughts at https://waylonwalker.com/thoughts

Reply by email