git filter branch - How to detach subdirectory in Git but keep all branches -


i have been following answers question detach subdirectory separate git repository , had successes simple subdirectories on 1 branch confronted subdirectory littered on multiple branches simple

git filter-branch --subdirectory-filter subdirectory head 

does not job.

do have switch each , every branch , run filter-branch command or there can blanked change through complete history ?

the head @ end of command specifying ref process. can give number of other commands, including --all specify absolutely everything, --branches specify branches, or --remotes specify remotes. may have prefix these options -- tell filter-branch these rev-list args. note --all try process tags explicitly, may not want. use --branches --remotes specify non-tag refs instead. may want add --tag-name-filter cat rewrite tags point rewritten commits - original command leave tags unchanged.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -