What's happened to my directory on GitHub?
Posted
by Greg K
on Stack Overflow
See other posts from Stack Overflow
or by Greg K
Published on 2010-04-03T23:55:34Z
Indexed on
2010/04/04
0:03 UTC
Read the original article
Hit count: 351
I added a new subdir within my git respository:
git add feeds
Then commited this and pushed it up to GitHub but it seems as though I've commited a symlink / shortcut but not the actual directory and files within.
See here: http://github.com/G4EGK/RSS-Reader
Any idea what 'feeds' is?
I'd like to remove that and correctly add my files. I tried the following but git status said nothing had changed:
git rm feeds
git add feeds/\*.php
To remove feeds do I run the following?
git filter-branch --tree-filter 'rm -f feeds' HEAD
© Stack Overflow or respective owner