How to efficiently build a tree from a flat structure?

I have a bunch of objects in a flat structure. These objects have an ID and a ParentID property so they can be arranged in trees. They are in no particular order. Each ParentID property does not necessarily matches with an ID in the structure. Therefore their could be several trees emerging from these objects. … Read more

Unable to show a Git tree in terminal

Killswitchcollective.com’s old article, 30 June 2009, has the following inputs and outputs git co master git merge [your_branch] git push upstream A-B-C-D-E A-B-C-D-E-F-G \ —-> \ your branch C-D-E G I am interested how you get the tree like-view of commits in your terminal without using Gitk or Gitx in OS/X. How can you get … Read more