What's happened to my directory on GitHub?
- by Greg K
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