git

On Jekyll

That’s it! At long last, I’ve migrated my personal sites away from Wordpress. My blog and websites have been in need of a design overhaul for a long time, and as I was growing tired of the incessant and ever larger updates required by Wordpress and its plugins, I decided to switch to a static site generator.

Exit Wordpress, enters Jekyll.

Wordpress to Jekyll

read more

Automated deployment on remote server with git

Some time back, I wanted to setup my server so I could push code to my repositories, and have it automatically deployed to a website root directory after doing a git push from my local machine. I can’t remember where I found the instructions so I can’t give credit to whom I got it from, but here’s how I did it.

This is followed by a tutorial on how to extend this setup to multiple branches and work-trees for “live” and “development” versions of a website.

read more

Git post-receive for multiple remote branches and work-trees

A while ago I set up my server to automatically deploy new content from my git repositories when changes where pushed to them. This automatic workflow is great and fairly simple to setup, but I recently needed to add a twist to it: what if I want to deploy separate remote branches to their own individual work-trees? Here’s how…

Gitflow

read more

Git sync via USB

Right, suppose you need to sneakernet some git repository changes, Maybe your network is down and you want to send changes to co-workers or another machine from which you have a full network access. Maybe you’re somewhere without access to the a network and/or the correct ports/protocols for security reasons. Maybe all network connections are down and you really need to transfer your changes to someone else. How do you go about that?

read more

Categories