how to close a branch in git

Updated Answer As @user3159253 stated in comments of this answer : git garbage-collects commits which aren’t referenced, directly or indirectly, by a named reference (branch, tag, etc). That is why it is important to leave a reference to a freezed branch. You can tag the tip of the branch by archiving it, and then delete … Read more

What does tree-ish mean in Git?

The Short Answer (TL;DR) “Tree-ish” is a term that refers to any identifier (as specified in the Git revisions documentation) that ultimately leads to a (sub)directory tree (Git refers to directories as “trees” and “tree objects”). In the original poster’s case, foo is a directory that he wants to specify. The correct way to specify … Read more

tech