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

Agile Philippines Meetup 2019.03

Useful Tools for Your API Development

Compute Response Time in Postman

Single request

Anthem (Try Hack Me)

Web Scraping with EDA and Visualization Using Python

The Better Print Function Alternative, IceCream

What is an API?

Install the Python Environment for AI in WSL2

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

I challenged myself to code every day

Tools you Need as a Beginner Web Developer in 2022

Photo by <a href=”">Christin Hume</a> on <a href=”">Unsplash</a>

5 Steps That Will Help You Practice Programming

Learn git early