This post is more than three years old so may contain incorrect information, or opinions I no longer hold.

I Now Know How To use Git

11 May 2020 | ~2 minute read

A few days ago I wrote about how I have no idea how Git works. Since then, things have changed and I'm now basking in the warm orange glow of Git repositories.

What happened next?

After publishing the post about not being able to use Git, I re-posted it to Fosstodon (I'm all about the POSSE these days). I was half expecting some outrage and honest feedback about how I'm clearly an idiot.

That wasn't the case.

Instead I got numerous responses to help me learn, both on Fosstodon and via email. The community response was amazing and inspiring.

I decided that if the community can come to my aid and offer to help me learn, the least I should is get off my lazy fat arse and actually give learning Git a proper go.

That's what I did.

Learning Git

Ivan Tomica sent me a link to this brilliant website that reduces learning Git to simple, bite-sized pieces.

After 30 minutes I had successfully carried out my first commit and push from the Git CLI. I have to say, once the basics had clicked into place for me, the whole thing became much simpler to follow.

I've since been able to configure my local repositories to authenticate to GitHub using SSH keys. I've even been able to create a webhook that forces my web server to instigate an automatic pull (also via SSH) whenever one of my repositories are updated.

This means I can code changes to my theme or websites, do a git push and my they are auotmagically updated. No messing around with FTP.

Why didn't I do this sooner?

Conclusion

In my disclaimer I say the following:

My thoughts and opinions change from time to time; I consider this a necessary consequence of having an open mind.

This is definitely one of those occasions. Over the last few days my opinion of Git has done a full 180, and I'm now looking at other cool things that can be done with it.

I'm even exploring static site generators!

← The one before
Keybase, Zoom and Me

Up next →
Git Lecture [video]

Get in touch!

Receiving emails from my readers is my favourite thing, so if you have something to say, feel free to drop me an email or sign my guestbook.

Want more content?

Say no more, dear reader. Here's three random posts from this blog for you to peruse:

My Thoughts On Richard Stallman's Return To the FSF Board
22 Mar 2021

A Sombre Goodbye To Linux
10 Jul 2021

Calamity (Reckoners Book 3)
24 Apr 2022

Want to be informed when I post new articles? Simply enter your email address below and you will get an email whenever new posts are published.

Alternatively, you can subscribe via RSS instead.

Enjoyed this post?

I put a lot of work into maintaining this site and I really enjoy interacting with my readers.

My fuel of choice is coffee, so if you did enjoy this post, or found it in any way useful, I'd appreciate more fuel to keep me going. ❤️

Buy me a coffee