56
Common Git Problems and How to Fix Them

Common Git Problems and How to Fix Them

4 years ago
Anonymous $9jpehmcKty

https://medium.com/@diogoribeiro_94486/common-git-problems-and-how-to-fix-them-5e7e60298097

Photo by Yancy Min on UnsplashLearning Git? This Git tutorial covers the 10 most common Git tricks you should know about: how to undo commits, revert commits, edit commit messages, discard local files, resolve merge conflicts, and more.

Sometimes the best way to get a feel for a problem is diving in and playing around with the code. Unfortunately, the changes made in the process sometimes turn out to be less than optimal, in which case reverting the file to its original state can be the fastest and easiest solution: