Dear colleagues,

I am trying to extract subdirectories from a git repo and I have done so 
far these steps..


git filter-branch --tag-name-filter cat --prune-empty --subdirectory-filter 
./Subfolder HEAD

 Delete history 

git reset --hard
git for-each-ref --format="%(refname)" refs/original/ | xargs -n 1 git 
update-ref -d
git reflog expire --expire=now --all
git gc --aggressive --prune=now 


The problem is that it extracts all the tags and not the only ones from 
this repo. 

Would you have any idea how could I do it?

Thanks & regards

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to