Conclusion and next steps
Now that we've learned how to save new changes into the repository, let's see how we can revert unwanted changes in our working tree. Oh, wait, I almost forgot...
Quiz yourself
git new
git start
git create
git init
git begin --repository
git add
command do?-m
option do when used with git commit
?Amazing work! In the upcoming chapter, we'll explore how to undo changes and revert to previous versions of your project. Get ready to become a Git time traveler!
Next stepRoadmap
Hi! I'm Alex, creator of GitByBit.
This page is part of the interactive course about Git version control.
It's a one-of-a-kind course that is integrated into the VS Code code editor. Learning directly in VS Code lets you operate Git exactly as you would in real life, doing real jobs, writing real code.
In addition, the course has access to your actual terminal, so it can point out mistakes, suggest workarounds, etc.
The course is FREE, there are no Ads or other bullshit. There are optional premium add-ons you can purchase, mainly to support my work (regrettably, I have to eat every day), but that's totally up to you.
Learn Git in VS Code