Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

egghead.io

Productive Git for Developers

via egghead.io

Overview

Knowing your everyday toolset increases your productivity as a developer. And Git is one of those tools you use on a daily basis. Mastering Git is tough; it has hundreds of different commands, often even inconsistent at how you pass in flags and configuration options. On the other side, there are a lot of good Git courses out there already, explaining all of these commands in detail.
With this course, I aim at a different goal. You will walk through a series of scenarios which you’ll most commonly encounter in your daily work life as a developer. I’m talking:
updating your feature branch with the latest changes from master
polishing your git history to make it ready for being peer-reviewed
moving a set of commits to another branch
undoing accidental commits
The goal is not to cover everything, but those tasks that will greatly improve your daily productivity with Git.

Syllabus

  • Only commit some of my currently modified files into the repository
  • Make my git log look pretty and readable
  • Move some commits to a separate branch that I have accidentally committed to master
  • Update my feature branch with the latest changes from master
  • Push a rebased local branch by using `--force-with-lease`
  • Polish my git feature branch before merging or submitting for review
  • Automate the cleanup of my feature branch with Git Autosquash
  • Squash all of my commits into a single one and merge into master
  • Change the commit message of my last commit
  • Add a file I’ve forgotten to add to my last commit
  • Undo my last commit and split it into two separate ones
  • Wipe a commit from my local branch
  • Undo a commit that has already been pushed to the remote repository
  • Temporarily store some work in progress because I have to jump to another branch
  • Find that bad commit that broke your App with Git Bisect

Taught by

Juri Strumpflohner

Reviews

4.5 rating at egghead.io based on 711 ratings

Start your review of Productive Git for Developers

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.