Fix Common Git Mistakes

ClockIcon44m
gitgit
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.7
361 people completed
Chris Achard
By

Chris Achard

Teaching everything I know about React, React Native, Ruby on Rails, Node.js, and machine learning!

This workshop will start by breaking down the four states in which a file can exist, and we'll build up our mental model of git from there. Then, we'll look at how to move files between those states in different ways.

Once we've developed a new model for how git operates, we'll be able to purposefully get ourselves into some sticky situations, and then gracefully recover from them.

If you can handle git add/commit/push, but not much more - then this workshop is perfect for you.

You can finally get some proper git training, and will never have to worry about losing data or messing up the repo again!

What you'll learn

  • CheckIconChange commit messages
  • CheckIconAdd or remove files from a commit
  • CheckIconHow and when to stash changes
  • CheckIconWhat a "detached HEAD" is, and how to fix it
  • CheckIconRemove secrets from a codebase
  • CheckIconHow to rewrite history

Prerequisites

Chris Achard
By

Chris Achard

Teaching everything I know about React, React Native, Ruby on Rails, Node.js, and machine learning!

Illustration for Change a Commit Message that Hasn't Been Pushed Yet

Change a Commit Message that Hasn't Been Pushed Yet

Chris Achard
Lesson
ClockIcon
1m 47s