DEV Community

Discussion on: Git Staging Area: Explained Like I'm Five

Collapse
 
kostassar profile image
Kostas Sar

Yes, very clear!

But do we have to commit this new anti-box? Or is it pushed automatically?

Thread Thread
 
sublimegeek profile image
Jonathan Irvin

Whenever you perform a git revert the commit is created automagically for you. You can see it if you perform a git log or use a Git GUI like Sourcetree.

IF you want to make your revert public, you would do a git push and your local repo would be synced with the remote repo, assuming no conflicts with the public repo are present.

Thread Thread
 
kostassar profile image
Kostas Sar

Thank you!