Git — Commands that saves the world
We, all the code guys, work with Git in our daily life. At first, when we learned Git, it seemed complex. Nonetheless, today, we run Git commands without copy-pasting. It is a normal step-up for daily command of committing and pushing code to your repo.
There always comes a time where you make some stupid Git mistakes, and you are thinking: “Ohh s**t!! I did it again…”. Not so fast! Git is made by people like you who make stupid Git mistakes!
TL;DR
This command sheet is for non-beginners and is mainly dedicated to fix Git mistakes.
Here is an updating list of all world-saving Git commands:
I hope this list helps you. If you had more common mistakes that you wish to share, feel free to leave me a response; I’ll try to keep it updated.