Skip to main content

Command Palette

Search for a command to run...

Gogogaga, Learn Git like 5 years old

Updated
2 min read
R

Software engineer

This command is just to give some description about what you did so far, this will help camera to remember even if you check it after a year. It can tell you exactly what, when, who was doing this.

Now you have the exact copy of your original work, even though its completely empty

» But wait a minute, you notice something different in the copy

Congratulation. You created the first copy with version number. The hash you see is unique to your work, so it won’t repeat ever.

So far, the above is our state, we have 1 original work we were doing and on the backup, we have 2 copy with different state version.

But opps, you did some mistake while making the another shape, and unfortunately you can’t erase it anymore.

This is where the git backup will be useful. You can just pull the copy and start working again, and delete the mistake original file, you can remove the original mistake file as we won’t need that again.

Everytime we any changes and write,
git add all
& git commit -m “Message” it just create another version that we can use later and modify whenever we want.

thats why, once you use the git. You don’t have to worry about the versioning.

Alright, thats the start of the git. Alot to cover, see you kids on the next blog!
Gogogaga byee