Github – automate sync between master and gh-pages

I learned on WordCampPhilly-2015 about gh-pages (thanks to Sal), it is a nice github feature to host/showcase static pages.

So I was just trying to incorporate this on my workflow, but after few commits I felt this is a messy approach to keep switching between master and gh-pages branches and keeping them in sync, hence I googled and of course found a better way to automate it

Just add following two lines to [remote “origin”] section of your local .git/config file:-

push = +refs/heads/master:refs/heads/gh-pages
push = +refs/heads/master:refs/heads/master

After this, you can keep working on your master branch, but then everytime you will push – that will automatically trigger the further push/sync to gh-pages.

Read More

Hello WordPress aka AARUN.ME

I started blogging back in 2003 when I tried all main publishing platforms – blogger.com, wordpress.com and livejournal.com – but at the same time google acquired blogger.com – which finally pushed my decision to settle with blogger.com due to ease of single sign on and availability of many awesome templates.

Also, I did not feel like owning my own domain at that time (and during last 10 year) and was happy with a blogger.com subdomain.

I just kept tinkering with blogger templates and also installed and played around with wordpress package (on my local) all these years – making a subconscious decision that when I move – I will move to wordpress hosted own domain – but I will do it “when the right time comes”.

Finally it was in 2015, that I felt the call and decided to get my own domain and get rolling with WordPress.

As I write this post, I have finished developing a basic wordpress site on my local and I have also imported all my posts from Blogger.com.

So I guess the new journey starts now .. I will see how it goes.

 

PS- I will test this site for a day or two and will then put a redirect from blogger to wordpress.

Read More