Fix Common Git Mistakes

46m
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.7
441
people completed
Bookmark
Download
RSS

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!

Instructor

Chris Achard

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

Credits

Aleksander Ageev (illustration)

What you'll learn

  • Change commit messages
  • Add or remove files from a commit
  • How and when to stash changes
  • What a "detached HEAD" is, and how to fix it
  • Remove secrets from a codebase
  • How to rewrite history

Course content (20 lessons)

    illustration for Fix Common Git Mistakes