Reputation: 24949
I don't want to submit projectname.project folder. Now, I use like that
git add .
...
...
git push orign master
I don't want to submit projectname.project folder. When i use
git rm -r projectname.project
git remove my projectname.project in my computer and I need to create a project again.
Upvotes: 3
Views: 6985
Reputation: 31025
It depends what you want to do:
git reset projectname.project
should workgit rm --cached projectname.project
Upvotes: 5
Reputation: 46914
You can delete from index in git not in your filesystem
git rm -r projectname.project --cached
Now this directory is delete in versonning not in your filesystem
Upvotes: 11