Git: How to create a repository on a web server

David Nash bash, linux 2 Comments

I’m writing this mainly for my own reference. I found it very difficult to find instructions on using git for what I wanted. The scenario: I have a web server (, which I can ssh into. It has a website running on /var/www/website/. I want to create a git repo for it, and then from my development machine (devmachine) clone that repo, make changes, and when I’m happy push them to the web server. I already have ssh keys installed so I can ssh from devmachine to On both and devmachine I have a user david who is …

WordPress upgrade “Briefly unavailable for scheduled maintenance. Check back in a minute.”

David Nash wordpress 2 Comments

I just updated my WordPress installation from 3.2 to 3.3. The upgrade was running but then the page directed to this message: Briefly unavailable for scheduled maintenance. Check back in a minute. The front page and wp-admin both showed this unstyled message. After a quick search I found that simply deleting the .maintenance file via FTP will remove this. Perhaps it’s a bug in this version, perhaps something went wrong. But after deleting that file everything seems to be working well. And I must say I like the design tweaks in WordPress 3.3.