News for hackers. Stuff that matters.
Re:Key Git Concepts Explained the Hard Way by aequitas on Wednesday March 14, 2018 @03:43PM (#16587659)
Understanding that in git 'branches' are not really the branches but merely post-its that can trivially moved between the 'real' branches on the tree of commits really opened my eyes. Along with the use of visual tools like https://github.com/gitx/gitx, https://github.com/FredrikNoren/ungit, https://github.com/jonas/tig and aliases like `log --oneline --decorate -50 --all --graph --remotes`.

It really changes Git from a bunch of vague commands to a toolkit that you can use to apply the changes you desire on the database and worktree.

But even then I still get confused as the concepts of Git are not well translated into the commands, the various functions of reset and checkout. I think it is mentioned often before on HN but http://gitless.com/ is an good approach to create a new API/concepts on top of the same internals.

Re:Key Git Concepts Explained the Hard Way by dbkaplun on Wednesday March 14, 2018 @09:43PM (#16589938)
GitUp[1] is an excellent alternative to gitx and ungit, for those unhappy with either.

[1]: https://github.com/git-up/GitUp