How do I remove files in the remote repository?
+1
A:
Remove file from repository and filesystem
git rm my_path/my_file
Force removing file
git rm --force my_path/my_file
Remove file only from your repository not in your file system
git rm --cached my_path/my_file
shingara
2010-06-24 10:27:09
is there anyway to do it in Git GUI?
Rodrigo Alves
2010-06-24 10:44:18
I don't use some gui
shingara
2010-06-24 12:04:57
A:
I think you can try this git filter-branch
command to rewrite remote origin branch. So that delete those files you wanna clean in all commits.
http://www.kernel.org/pub/software/scm/git/docs/git-filter-branch.html
kaichen
2010-06-25 02:03:36