Dear colleagues,

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

-------------------------------------------------------------------------------------------Filter
 
subdirectory 

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 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to