Jump to content
Mike Torrettinni

Why should I use good source control versioning system?

Recommended Posts

On 8/15/2020 at 1:52 PM, Anders Melander said:

Git is a powerful tool but when you shoot yourself in the foot with it it leaves a rather large hole.

I would argue on that. Several times I accidentally got my commits overridden and restored them undamaged with git reflog.

Share this post


Link to post
2 minutes ago, Fr0sT.Brutal said:

I would argue on that. Several times I accidentally got my commits overridden and restored them undamaged with git reflog.

I think you just proved my point there.

I'm not saying that you can't get out of trouble. I'm saying it's rather easy to get into trouble. The challenge is figuring out how to do that.

https://ohshitgit.com/

Share this post


Link to post
4 minutes ago, Anders Melander said:

I'm not saying that you can't get out of trouble. I'm saying it's rather easy to get into trouble

Well, that cases were my mistakes. Unmarked heads disappear from history when checking out another branch. Will other VCS allow to recover from this situation?

Of course Git is too brutal sometimes, just like any serious *nix tool. But it does its best to warn you when you're about to shoot yourself in the leg 😄

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×