Hacker News new | ask | show | jobs
by Sverigevader 1320 days ago
Nice page! Very well made and great explanations. However; I'm a big fan of aliases in git, but I don't think this is the way to go personally. Knowing the difference between rebase and merge is vital, and I think it's worth the time investment to learn git properly.

It took me 1 month of painstakingly learning the git CLI and I'm happy I spent the time. Before that I was using a GUI and was essentially afraid of git.

I'm no longer afraid. Instead I'm actively exploring ways to do things faster and/or smarter every day.

This happened when I switched jobs recently and came into contact with a fantastic developer and patient teacher. Doing it myself would have taken a bit longer and I wouldn't be able to see how much it would be worth it.

I'm enjoying a rebase workflow everyday. And I especially like the -i flag for interactive rebasing;

  git rebase -i
Same with -p for interactively adding code/files before commits

  git add -p
I read the first three chapters of the git-scm book[0] and it made a world of difference in understanding what's actually going on.

[0] https://git-scm.com/book/en/v2