4 ms·
Learn git properly instead. It can be done. Sit down and start reading all the `git help` pages. As you read, clone a repo and try things out until you understa
by rags2riches 6y ago
Learn git properly instead. It can be done. Sit down and start reading all the `git help` pages. As you read, clone a repo and try things out until you understand them. Experiment, read, experiment some more. Set a goal, like "I will make a branch, commit some changes, then merge them back". Try to predict what will happen before you run a command. Try to get back to where you were before. Try to achieve something in more than one way. Write an explanation for what just happened, then verify by repetition and more experiments that your explanation holds up. Find somebody to ask when you really can't figure out what is going on. But don't just get a solution in the form of strange commands, keep at it until you can reproduce the problem and the solution yourself.
Git isn't magical. Everything you will need to learn it is already at your fingertips.