hdavidzhu hdavidzhu - 2 months ago 58
Git Question

How do I install git-subtree with Cygwin in Windows 7?

I'm struggling to install git-subtree with Cygwin and there hasn't been any good tutorials online focused on building from source in Windows. Have you ever had this issue, and what is the best strategy to tackle it?

Answer

git-subtree is not part of a package. However, like gitk you can manually install it

wget rawgit.com/git/git/master/contrib/subtree/git-subtree.sh
install git-subtree.sh /usr/local/bin/git-subtree

Example