Prod++[1]: Master Git

Prod++[1]: Master Git

The Why

  • Time-machine If you commit frequently you can easily go back to previous versions as to find older implementations, trace bugs to their root and show how your project evolved over time.
  • Self-review Using Git for your personal projects is a great enabler to become more aware of the changes you are making. Remember those console.logs you added all over your code while trying to get this new feature to work? Well, git diff does.
  • Backup Ever had a friend who lost a few weeks of work when their laptop suddenly gave up? If you regularly push your changes to an external Git repository, then you won’t suffer the same loss.
  • Ease isolated development environment setup Having the source-code checked into Git allows you to easily setup a new development environment if one is broken or delete everything which is not checked in to clean up.
  • Automation There are many tools out there to aid your development by hooking into Git. Whether it’s Prettier automatically formatting your code locally or Github Actions to automatically deploy your website.
  • Sharing Code Having your code base stored in Git makes it easier to share your code, if you ever manage to get someone interested in giving it a look.

The How

Use Aliases

Fix Your Own Mess

Inspect the Log

Read the Changelog

Don’t be Scared to (Re)Write History




Founder of — DevOps Consultant at Eficode — Living in Helsinki

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Top 10 AWS Crash Courses for Beginners — Enlear Academy

How Does ls command with option -l work in Shell?

Monitoring of DMS Tasks on Slack

8 Great Guides to Help You Get Your Next Software Job

Around the same time that the issues with Ellen were becoming

​Platform for roles exchange

How to pass coding job exercises?

Set Up Virtual Environments Using Different Python Versions on Windows

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adriaan Knapen

Adriaan Knapen

Founder of — DevOps Consultant at Eficode — Living in Helsinki

More from Medium

Get Better Everyday

Window sign that reads “Wake Up. Kick Ass. Be Kind. Repeat

Coding: My Journey So Far

How I’ve decided to be a developer

How Do You Become a Web Developer In 2022?